gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.2k stars 482 forks source link

Making physics wait for sensor updates #1721

Open osrf-migration opened 9 years ago

osrf-migration commented 9 years ago

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


Gazebo uses separate threads for the physics and several groups of sensors. The sensor threads currently throttle their updates to wait for the physics to advance to the proper simulation time, but physics does not wait for the sensor threads if they are too slow. This will cause sensors to not reach the specified update rates.

We should work on a design document about how to implement this. It may cause simulation to be slower, but it will be more consistent and repeatable.

osrf-migration commented 8 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


See also #1966

osrf-migration commented 8 years ago

Original comment by Stefan Kohlbrecher (Bitbucket: Stefan_Kohlbrecher).


See also #1748 (which soon has it's one year anniversary :D )

osrf-migration commented 8 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).