ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

rviz window closes itself

asked 2011-05-15 07:47:09 -0600

Ali Abdul Khaliq gravatar image

updated 2014-12-13 06:23:29 -0600

Hello,

I am trying to visualize the simulated of particles in rviz using points. But in the middle of simulation process, the rviz is getting crash. It gives the following description of problem.

rviz: /tmp/buildd/ros-diamondback-visualization-common-1.4.0/debian/ros-diamondback-visualization-common/opt/ros/diamondback/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/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

Can any one help? thanks.

edit retag flag offensive close merge delete

Comments

I've seen this before but I can't quite recall in what cases... are you running the window under a weird resolution or making the rviz window very small/oddly sized?
Eric Perko gravatar image Eric Perko  ( 2011-05-15 16:17:12 -0600 )edit
The resolution and rviz window size is fine. I just noticed that with other simulation display, the rviz is working fine but with the points simulation it gives the error. Can it be something wrong with the point simulation?
Ali Abdul Khaliq gravatar image Ali Abdul Khaliq  ( 2011-05-16 03:25:54 -0600 )edit
I've seen a similar problem in gazebo when fiddling with the stepsize parameter. "The minimum corner of the box must be less than or equal to maximum corner"' failed.
JonW gravatar image JonW  ( 2011-05-16 22:50:34 -0600 )edit

I also come across the same problem these days, can you tell me how to fix it? thanks.

Dannis Lee gravatar image Dannis Lee  ( 2017-07-20 02:01:20 -0600 )edit
1

I just had this when publishing an incomplete odometry-orientation and opened a bug report on github.

Simon Harst gravatar image Simon Harst  ( 2017-08-09 15:48:46 -0600 )edit

Happened to me too when I was accidentally publishing messages with illegal values, in my case NaNs in a PoseStamped. Once I made sure there were no NaNs in the message, the error no longer occurred.

alexe gravatar image alexe  ( 2020-04-11 13:13:16 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2011-06-17 10:58:34 -0600

Mac gravatar image

If you can provide minimal code to reproduce this, you should file a bug.

edit flag offensive delete link more
3

answered 2011-08-22 23:27:29 -0600

NikolasEngelhard gravatar image

I just got this error message and checked my cloud for strange points. My problem were points with huge values (z of 340282346638528859811704183484516925440.000000). This nice number can also be written as (2^24-1)*2^104, which happens to be max_float, so I guess I made a mistake at recognizing nans.

The data came from the kinect.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-05-15 07:47:09 -0600

Seen: 4,283 times

Last updated: Dec 13 '14