Gazebo | Ignition | Community
Ask Your Question

Tower of Hanoi: Objects jumping when stacked

asked 2018-09-17 09:24:03 -0500

SailAvid1 gravatar image

I am trying to build a "Tower of Hanoi" simulation in Gazebo.

For that I have a model with 3 pins and a few rings with different sizes.

If I place these rings on top of each other, they simply jump away after the fourth or so.

image description

You can see the behaviour here in this video:

I already tried to set the dampingFactor, minDepth and a few other parameters, but that didn't fix it:

image description

Also, the Inertia matrix is correct and the center of mass is also in the middle of the rings.

The whole source code to reproduce the problem is here:

How do I have to modify the URDF to successfully stack the rings?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-09-17 11:18:45 -0500

chapulina gravatar image

We've done a Hanoi tower demo before, you can see the parameters here if you're interested.

edit flag offensive delete link more

answered 2018-09-17 10:44:39 -0500

Try setting the maxVel parameter to a low value.


edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-09-17 08:10:34 -0500

Seen: 1,857 times

Last updated: Sep 17 '18