Hi Ricarda,<br><br>This sounds like another modeling issue.  Please post your urdf model so we can help you identify the potential problem.<br><br>While I don't have a good tool for debugging bad robot models, I'll try and put together a list of things to check here.<br>

 <br>Is your robot actuated?  If so, please check to see that the controllers are outputting correct/reasonable commands (no near infinite accelerations as a result).  This includes the safety controller if you are using any.<br>

<br>Meticulously double checking all masses and moi's.<br><br>Does reducing time step by factor of 100 help stabilizing things?  If so, you should be able to identify the misbehaving joint/link by slowly re-increasing the time step until you can see a single link/joint lead off the "dance of instability".  Alternatively, break down your model into pieces to identify the source of the problem.  The instability ("dance" or "explosion") could be caused by a number of things, I'll list a few:<br>

<ul><li>invalid mass, moment of inertias.</li><li>joint angle outside of joint limits (as in you previous model/email thread), incompatible joint limits.<br></li><li>unexpected collisions (possibly due to bad collision mesh).</li>

<li>time step size too large for your mass/moi ratios of connected links.  If the physical system you are modeling is too stiff, then unfortunately you have to reduce time step size (you could potentially increase inner iteration counts or lower relaxation parameter, but that may not be sufficient sometimes).<br>

</li><li>too many redundant joints between the same bodies</li><li>incompatible constraints.</li><li>etc.</li></ul>As you mentioned, changing mass values will affect the dynamics and numerical properties of your physical system you're modeling.<br>

<br>John<br><br>On Wednesday, September 29, 2010, Ricarda Steffens <<a href="mailto:steffens@informatik.uni-bonn.de">steffens@informatik.uni-bonn.de</a>> wrote:<br>> Hi everybody,<br>> after fixing problems such as "robot falling from sky", "robot explodes"<br>

> and "robot explodes with help of a timed detonator" I now have the problem<br>> that my robot model "dances".<br>> The model spawns as it should be but then has a major tremor and falls on<br>

> the floor still twitching.<br>> I multiplied the inertia matrix of the wheels by 100 which seems to solve<br>> the problem surprisingly. At least until I add the robot's arms.<br>> Then the arms and some other connected links, which were not twitching<br>

> beforehand, have a small but noticable tremor. The tremor decreases but<br>> does not vanish when changing the mass value of the upper arm from 3.0 to<br>> 0.1.<br>> I did some trial-and-error stuff with the upper arm but could not find or<br>

> fix the problem.<br>><br>> So does anyone have an idea of how to solve this problem?<br>><br>> Thanks,<br>> Ricarda<br>><br>> _______________________________________________<br>> ros-users mailing list<br>

> <a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>> <a href="https://code.ros.org/mailman/listinfo/ros-users">https://code.ros.org/mailman/listinfo/ros-users</a><br>><br>