ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Enforcing real time factor = 1 in gazebo

asked 2015-03-16 12:13:00 -0500

dmeltz gravatar image

Hello

Is there a way to enforce real time factor = 1 in gazebo simulation ? I understand that it must come at expense of large or uneven time step and therefore physical accuracy.

My intention is to transmit the sensor data that is generated in Gazebo to a software that is a "Black-Box" and therefore must receive the data in real time rate.

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-03-16 15:42:29 -0500

There are a few things you could try:

  • Simplify the scenario (use objects made up of lower polygon meshes, or even better, primitives instead of meshes)
  • Change the physics engine parameters to use fewer iterations/adjust time step (risks sim becoming instable)
  • Run on a beefier CPU :)
  • Run headless (without gzclient GUI)

See also this older question about how to make Gazebo faster. Also, you might want to ask this on http://answers.gazebosim.org/questions/ instead.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-16 12:13:00 -0500

Seen: 5,250 times

Last updated: Mar 16 '15