Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ogre assertion failing

Hello,

I've encountered this assertion failing when loading one of our worlds from an sdf file:

gzclient: /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:251: 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.

After some debugging, I realized that it's easy to reproduce:

  1. Launch gazebo with an empty world
  2. Set direction of the sun to (0, 0, -1)

It seems to be related to rendering of shadows - when I disable cast_shadow in the sdf file, the assertion doesn't fail.

Setup:

  • gazebo version 11.2.0
  • libogre-1.9.0v5

Has anyone experienced this? Is this a bug (or a feature)?

Ogre assertion failing

Hello,

I've encountered this assertion failing when loading one of our worlds from an sdf file:

gzclient: /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h:251: 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.

After some debugging, I realized that it's easy to reproduce:

  1. Launch gazebo with an empty world
  2. Set direction of the sun to (0, 0, -1)

It seems to be related to rendering of shadows - when I disable cast_shadow in the sdf file, the assertion doesn't fail.

Setup:

  • gazebo version 11.2.0
  • libogre-1.9.0v5

Has anyone experienced this? Is this a bug (or a feature)?