Gazebo | Ignition | Community
Ask Your Question
0

Runaway simulation in gazebo 9?

asked 2018-10-23 06:45:33 -0600

Sietse gravatar image

updated 2018-10-24 02:11:59 -0600

Hello list,

I have a simple model, consisting of 4 boxes/cylinders and 3 revolute joints, very basic. It is controlled using the joint trajectory controller with a simple python script. It is not connected to ground, it effectively is a box that can push itself on the ground with the rest of the model.

Here a short video, exported from gazebo that show's it in action.

And here the complete project.

But after 3 second the model starts to "oscillate" violently. The joints suddenly don't seem to be revolute anymore. This smells like a bug.

Using gazebo-9 ros-melodic from source on debian testing.

Edit: Somtimes gzclient crashes with:

gzclient: /build/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:252: void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&): Assertion `(min.x <= max.x && min.y <= max.y && min.z <= max.z) && "The minimum corner of the box must be less than or equal to maximum corner"' failed.
Aborted

Is there anything I can do? Thanks in advance, Sietse

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-10-29 16:55:21 -0600

Sietse gravatar image

updated 2018-10-29 16:57:38 -0600

To answer my own question, from an answer from my question on ros-answers: the origin elements of the inertial element in the links were not set properly in the urdf

When setting them the same as the collision and visual elements everything works properly.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-10-23 06:45:33 -0600

Seen: 580 times

Last updated: Oct 29 '18