AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

How to adjust Airsim car state update frequency

Open pengjili opened this issue 7 years ago • 3 comments

Windows 7, UE4.18, Airsim version: latest, video card: Quadra M620

How can I know or set the car state update frequency in Airsim? Logically the update process of the physics engine should be called every frame(or every tick) according to UE4's default setting. However when I actually print out my car state in approximately 100 fps, I find out that the value of my car state will be updated within every 60-80ms. So is this the right frequency for updating frame? If I want to achieve higher frequency, how can I do that besides switching to another better computer? Or is there any way to tell Airsim updating its state in a fixed fps, not following UE's frame fps. Thanks very much for helping!

pengjili avatar Apr 09 '19 02:04 pengjili

Actually it comes from another problem that no matter how I change the parameter value related to fps (100hz)in sensor param files like ImuSimpleParams.hpp or GpsSimpleParams.hpp etc, the output of sensor values doesn't change. As I look into it I think it's just because of the reason that I mentioned above-car state updating fps isn't high enough, and in fact your sensor values updating fps is mainly up to car states fps.

pengjili avatar Apr 09 '19 09:04 pengjili

@pengjili any update on this issue?

jonyMarino avatar Aug 14 '20 17:08 jonyMarino

Closed due to inactivity. Please, feel free to ask for it to be reopened if you wish to continue posting.

jonyMarino avatar Dec 31 '21 17:12 jonyMarino