Ask Your Question
2

displaying of pointcloud crashes rviz

asked 2011-05-30 05:18:16 -0500

dejanpan gravatar image

I am using pcl and pcl_ros from http://svn.pointclouds.org/ros/tags/u... . I am publishing the pointcloud version .PCD v.7 using pcd_to_pointcloud tool and then trying to display it in diamondback version of rviz.

The latter however crashes rviz with the following message: """ 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. (0) : fatal error C9999: * exception during compilation * """

I suspect it to be caused by NaNs in my pointcloud but then again this was not the problem for diamondback version of pcl_ros. Can anyone confirm if my guess is right and what would would the action to rectify the problem be?

D.

edit retag flag offensive close merge delete

Comments

This might be the same issue?: http://answers.ros.org/question/928/rviz-window-closes-itself Spoiler alert, no solutions there either.
Ivan Dryanovski gravatar image Ivan Dryanovski  ( 2011-05-30 06:04:42 -0500 )edit
Could you run rviz in gdb and get a backtrace?
Eric Perko gravatar image Eric Perko  ( 2011-05-30 06:06:11 -0500 )edit
Hi Eric, the bt is here: http://pastie.org/1995774. And this is the pcd I am trying to visualize: http://ias.cs.tum.edu/~pangerci/alpen_milch_0195.pcd. It seems like the deb version of rviz is built w/o debug symbols as I am not able to get any listing of the code or such.
dejanpan gravatar image dejanpan  ( 2011-05-30 13:09:17 -0500 )edit
Could you try it on rviz trunk? If it still doesn't work there, I suggest opening a ticket and then putting a link to it here as the answer. If a valid PointCloud (according to the PointCloud2 message type) causes rviz to crash, it's definitely a bug :)
Eric Perko gravatar image Eric Perko  ( 2011-05-30 14:53:02 -0500 )edit
Closing as Eric Perko's comment is essentially the right answer.
kwc gravatar image kwc  ( 2011-06-17 11:37:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-08-02 11:17:41 -0500

Wim gravatar image

Could you try it on rviz trunk? If it still doesn't work there, I suggest opening a ticket and then putting a link to it here as the answer. If a valid PointCloud (according to the PointCloud2 message type) causes rviz to crash, it's definitely a bug :) - Eric Perko (May 30)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-05-30 05:18:16 -0500

Seen: 794 times

Last updated: Aug 02 '11