Cannot display octomap_full topic in Rviz, when running Gazebo

asked 2019-01-07 13:31:35 -0500

kosmastsk gravatar image

I am trying to visualize the octomap_full topic in RViz, while running RTAB-Map SLAM in Gazebo. More specifically, I have installed the octomap_rviz_plugins and I can display the /rtabmap/octomap_binary topic in RViz without any problem. But when I change to /rtabmap/octomap_full, Rviz crashes and I get the following error:

 [rviz-14] process has died [pid 21899, exit code -11, cmd /opt/ros/kinetic/lib/rviz/rviz -d /home/kosmastsk/catkin_ws/src/rtabmap_ros/launch/config/turtlebot_navigation.rviz __name:=rviz __log:=/home/kosmastsk/.ros/log/35a66d30-12b1-11e9-a37d-aced5c487c04/rviz-14.log].
 log file: /home/kosmastsk/.ros/log/35a66d30-12b1-11e9-a37d-aced5c487c04/rviz-14*.log

The weird this is that if I record the /rtabmap/octomap_full topic with rosbag and then play it, I can display it in RViz normally. Also I can display the octomap using the RTAB-Map Viz instead of RViz.
What could be the problem and I cannot display it also while running Gazebo?

I am using ROS Kinetic.

edit retag flag offensive close merge delete