Gazebo | Ignition | Community
Ask Your Question
0

Playing with the max step size and real time update rate causes robot to shiver

asked 2022-02-06 20:32:01 -0500

PumpkinIcedTea gravatar image

Hi guys, so the default physics real time update rate is 1000 and the max step size is 0.001. After changing it to 200 and 0.005 the robot shivers uncontrollably. Its not the fault of the controllers as it still shivers without them... Any way to stop this shivering ? Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-02-10 14:55:30 -0500

shonigmann gravatar image

Depends quite a bit on the complexity of your robot (e.g. serial chain manipulator vs wheeled robot) and the physics configuration you are using... but it sounds like you are simply running into the limits of numerical stability of your simulation. Increasing the step size too much will make the simulation unstable.

If it is essential to run your simulation with 5ms steps, then you can try adding damping and friction to each of the joints. This may be enough to eliminate the oscillations. You could also try changing from ODE to DART or Bullet. I've had some success with that improving stability in the past.

But be advised that with such a large step time, the physical realism of your sim is going to be pretty poor. 1ms steps are already on the high end for physical realism with Gazebo's default physics settings.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-02-06 20:32:01 -0500

Seen: 100 times

Last updated: Feb 10 '22