CARLA Simulator: Difference between revisions

No edit summary
Line 29: Line 29:
Normal games run at realtime, i.e. frames are generated as fast as possble (or limited by vsync) and the time between frames set based on the elapsed time. For demos and games, this is fine.
Normal games run at realtime, i.e. frames are generated as fast as possble (or limited by vsync) and the time between frames set based on the elapsed time. For demos and games, this is fine.
However for simulations, you will want to fix the time between frames to a constant value.
However for simulations, you will want to fix the time between frames to a constant value.
Below sets the timestep to <code>1/30</code> seconds per frame.
<pre>
<pre>
./CarlaUE4.sh -benchmark -fps=30
./CarlaUE4.sh -benchmark -fps=30
</pre>
</pre>