rtabmap_drone_example icon indicating copy to clipboard operation
rtabmap_drone_example copied to clipboard

rviz.launch crashes if Rtabmap_rivz is opened.

Open Faisalsouz opened this issue 1 year ago • 1 comments

I am using ubuntu focal fossa, ROS1 noetic building Rtabmap, from source using catkin_make Everything works as usual but while Rtabmp rviz view windows is opened ,and I try to open the rviz.launch file form the rtabmap_drone_example it opens with black screen and then crashes immidiately. What I have done so for? I have removed, purged rivz, both system wide and rviz-noeitc I have followed instructions somewhere to install full desktop of noetic , I did that

Fist open Rviz and then Rtabmap open rviz with rosrun rviz rviz and open config file. I don't have any luck yet, any help is appreciated. Thanks.

Faisalsouz avatar Jun 26 '23 09:06 Faisalsouz

You may try to disable all plugins in the config file (in a text editor). Then after opening that config with rviz, enable the plugins one after the other to see which one is crashing rviz, then remove it form the config. The robot model plugin (using robot_description) may fail on some computer, rviz would crash in Ogre library when loading the 3D mesh model, not sure why.

https://github.com/matlabbe/rtabmap_drone_example/blob/eaeeb6f723cd0b0307575d3969f2cb5df42f928e/config/rviz.rviz#L296-L299

Set Enabled to false ----^

matlabbe avatar Jun 26 '23 23:06 matlabbe