microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.39k stars 4.57k forks source link

Weather and time parameters not working appearing when in Computer Vision mode #3482

Open HoomanRamezani opened 3 years ago

HoomanRamezani commented 3 years ago

Question

Weather and time parameters not working appearing when in Computer Vision mode

I am trying to change weather and time parameters when recording in computer vision mode. In simulation mode the code works as expected, changing weather and time as specified. When using computer vision the ‘fog’ and ‘dust’ modes work, but the ‘rain’ and ‘snow’ weather conditions don’t appear, and time changes are not made. I’m wondering if this has something to do with particle simulation.

This code I’m using is:

self.client.simSetWeatherParameter(airsim.WeatherParameter.Dust, magnitude)
self.client.simSetTimeOfDay(is_enabled=is_enabled, start_datetime=time_to_set)

Does anyone know what’s going on?

Context details

I’m using

zimmy87 commented 3 years ago

I am not able to repro this with Ubuntu and UE 4.25 as of commit 6d20663. Please try to repro this with the latest sync of master and then with UE 4.25. If this issue still repros at that point, please let us know.

HoomanRamezani commented 3 years ago

I have further investigated the issue, there appears to be a 'particle box' created around the actor in UE4 that displays rain/snow particles in a small box a few meters around the actor. This box does not seem to move with the computer vision camera recording so once it's moved away from the actor there are no rain/snow particle effects. I am looking to change this in order to ensure that the rain/snow particles appear everywhere in the sim so they appear in the recordings.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.