Crash for model without <visual> when select Link in World Outliner

asked 2020-07-11 15:16:41 -0600

SamG gravatar image

Is it possible/expected to have a model without <visual> element? When clicking its link in the outliner, Gazebo crashes due to Ogre bbox error. My use case is a composing a world with nested models, instead of a flat list. Nested <model> elements lock the physics -- I'll post a separate question to figure out the best approach.

gzclient: /build/ogre-1.9-B6QkmW/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.


<sdf version="1.6">
  <model name="my_room">
    <link name="link">
      <collision name="collision">
        <pose>0 0 0 0 0 0</pose>
            <size>10 10 0.1</size>
edit retag flag offensive close merge delete


This sounds like a bug on Gazebo similar to this one, which is currently being fixed:

chapulina gravatar imagechapulina ( 2020-07-13 15:48:19 -0600 )edit

Hello ,

can you share a simplified model to replicate your setup?

Thank you

ahcorde gravatar imageahcorde ( 2020-07-21 08:33:23 -0600 )edit

@SamG, I believe this has been fixed since Gazebo 9.1.0. Are you on 9.0.0 by any chance?

chapulina gravatar imagechapulina ( 2020-07-23 10:35:55 -0600 )edit

@chapulina: Interesting, good to know. Yes, I was using 9.0.0 due to using the ROS apt repositories that are not updated. edit: I'm happy to resolve this issue as fixed in 9.1.0. I haven't yet digested why ROS apt repos are stuck at 9.0.0 (separate issue).

@ahcorde: the above model is the setup. Just load that model.sdf into a .world.

SamG gravatar imageSamG ( 2020-07-24 10:27:12 -0600 )edit