CARLA Simulator: Difference between revisions

no edit summary
(Created page with "CARLA is a simulator for self-driving cars. * [https://carla.org/ https://carla.org/] * [https://carla.readthedocs.io/en/latest/ Documentation] ==Getting Started== ===Instal...")
 
No edit summary
Line 23: Line 23:
The client handles setting up the scene and all sensor data.
The client handles setting up the scene and all sensor data.
See [https://carla.readthedocs.io/en/latest/tuto_G_retrieve_data/ Tutorial: Retrieve Data] and scroll down to tutorial_ego.py.
See [https://carla.readthedocs.io/en/latest/tuto_G_retrieve_data/ Tutorial: Retrieve Data] and scroll down to tutorial_ego.py.
==Fixed time step==
[https://carla.readthedocs.io/en/stable/configuring_the_simulation/ Reference]
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.
<pre>
./CarlaUE4.sh -benchmark -fps=30
</pre>