Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Gazebo 6 update rate settings

Hello everybody,

I am working with Gazebo 6 and I would like to decrease CPU consommation.

I saw many post on this and for example this one : http://answers.ros.org/question/35699/gazebo-real-and-simulation-time/

But when I try to set the update rate to a negative value in the world file, Gazebo run as fast as possible (gzserver at 305% CPU on an empty world).

<physics type="ode">
        <max_step_size>0.001</max_step_size>
        <real_time_factor>1</real_time_factor>
        <real_time_update_rate>-1</real_time_update_rate>
        <gravity>0 0 -9.8</gravity>
</physics>

I would like the simulation to run real time factor without using 100% CPU for an empty world.

Is this behavior should work with max_step_size set to 0.001 and real_time_update_rate set to 1000 ?

Is there a configuration problem with my computer ? (I7 - nvidia GTX 850m)

Thanks in advance.