Gazebo | Ignition | Community
Ask Your Question

DRCSIM: new API and update rate

asked 2013-01-20 16:27:05 -0600

dcconner gravatar image

updated 2013-01-20 16:28:16 -0600

Thanks for publishing the preliminary API

With regard to the control inputs (subscriptions).

What is the fastest update rate that can be published and received by Gazebo for drcsim?

What is the control loop update rate in simulation time?

What is the expected physics simulation time step?

One can imagine running physics simulation at 0.001 s time step, but simulating a 200 Hz controller at 0.005 second time step (that is control output only updated every 5th simulation time step).

If the physics is only run at 0.005 s, then there is no point designing a controller that depends on 500 hz update rate.

Can you give us guidance on plans and expectations regarding the above questions? This will constrain the control methods that can be used.

edit retag flag offensive close merge delete


I note that the message description uses continuous notation (1/s, s), and not discrete time controller (1/z, z) notation. If intentional, this would imply that controller must run at same update rate as physics, but given limited setpoint update rate would still function as discrete time.

dcconner gravatar imagedcconner ( 2013-01-21 09:53:03 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-22 23:03:40 -0600

gerkey gravatar image

The API docs are expanding in advance of the drcsim 2.0 release. Your questions are now addressed there.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2013-01-20 16:27:05 -0600

Seen: 336 times

Last updated: Jan 22 '13