Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

camera plugin causing "The minimum corner of the box" error

Is the picture allowed to go under the ground like that? is that the cause of my errors?

I believe that I am getting the error when the camera plugin is generating the plane.

image description

gzserver: /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.

here is my gdb trace during the crash.

``` {gdb) bt

0 0x00007ffff62dce87 in __GI_raise (sig=sig@entry=6)

at ../sysdeps/unix/sysv/linux/raise.c:51

1 0x00007ffff62de7f1 in __GI_abort () at abort.c:79

2 0x00007ffff62ce3fa in __assert_fail_base (fmt=0x7ffff64556c0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff783c040 "(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\"", file=file@entry=0x7ffff783bfe8 "/build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h", line=line@entry=252, function=function@entry=0x7ffff784d8c0 "void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&)") at assert.c:92

3 0x00007ffff62ce472 in __GI___assert_fail (assertion=0x7ffff783c040 "(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\"", file=0x7ffff783bfe8 "/build/ogre-1.9-B6QkmW/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreAxisAlignedBox.h", line=252, function=0x7ffff784d8c0 "void Ogre::AxisAlignedBox::setExtents(const Ogre::Vector3&, const Ogre::Vector3&)") at assert.c:101

4 0x00007ffff75a7666 in Ogre::Frustum::updateFrustumImpl() const ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

5 0x00007ffff75a7bb9 in Ogre::Frustum::updateFrustumPlanes() const ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

6 0x00007ffff75a6989 in Ogre::Frustum::getFrustumPlane(unsigned short) const ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

7 0x00007fff72bc8c02 in Ogre::OctreeCamera::getVisibility(Ogre::AxisAlignedBox const&) () at /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_OctreeSceneManager.so

---Type <return> to continue, or q <return> to quit---

8 0x00007fff72bcb822 in Ogre::OctreeSceneManager::walkOctree(Ogre::OctreeCamera, Ogre::RenderQueue, Ogre::Octree, Ogre::VisibleObjectsBoundsInfo, bool, bool) ()

at /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_OctreeSceneManager.so

9 0x00007fff72bcba55 in Ogre::OctreeSceneManager::walkOctree(Ogre::OctreeCamera, Ogre::RenderQueue, Ogre::Octree, Ogre::VisibleObjectsBoundsInfo, bool, bool) ()

at /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_OctreeSceneManager.so

10 0x00007fff72bcbb71 in Ogre::OctreeSceneManager::_findVisibleObjects(Ogre::Camera, Ogre::VisibleObjectsBoundsInfo, bool) ()

at /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/Plugin_OctreeSceneManager.so

11 0x00007ffff7748a51 in Ogre::SceneManager::_renderScene(Ogre::Camera, Ogre::Viewport, bool) () at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

12 0x00007ffff7557d2a in Ogre::Camera::_renderScene(Ogre::Viewport*, bool) ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

13 0x00007ffff770447a in Ogre::RenderTarget::_updateViewport(Ogre::Viewport*, bool) () at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

14 0x00007ffff770428b in Ogre::RenderTarget::_updateAutoUpdatedViewports(bool) ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

15 0x00007ffff770400e in Ogre::RenderTarget::updateImpl() ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

16 0x00007ffff7704a34 in Ogre::RenderTarget::update(bool) ()

at /usr/lib/x86_64-linux-gnu/libOgreMain.so.1.9.0

17 0x00007ffff7745918 in Ogre::SceneManager::prepareShadowTextures(Ogre::Camera, Ogre::Viewport, Ogre::HashedVector<ogre::light*> const*) ()

```