introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
949 stars 554 forks source link

rtabmap_ros node crashing #226

Open aaravrav142 opened 6 years ago

aaravrav142 commented 6 years ago

Hi ,

I am using ros indigo and this problem started after updating the rtabmap package by git pull and rebuilding the catkin ws. When launching rtabmap_ros demo_robot_mapping.launch file with a pre recorded bag file, rtabmap does not launch and giving constant error as below. How can get over this issue.

[rtabmap/rtabmap-1] process has died [pid 4205, exit code -11, cmd /home/abhijeet/catkin_ws/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start odom:=/odom scan:=/scan rgb/image:=/data_throttled_image depth/image:=/data_throttled_image_depth rgb/camera_info:=/data_throttled_camera_info __name:=rtabmap __log:=/home/abhijeet/.ros/log/7da4aab2-2f58-11e8-a0f9-68a3c42fe28b/rtabmap-rtabmap-1.log].
log file: /home/abhijeet/.ros/log/7da4aab2-2f58-11e8-a0f9-68a3c42fe28b/rtabmap-rtabmap-1*.log
[points_xyzrgb-2] process has died [pid 4206, exit code -11, cmd /opt/ros/indigo/lib/nodelet/nodelet standalone rtabmap_ros/point_cloud_xyzrgb rgb/image:=/data_throttled_image depth/image:=/data_throttled_image_depth rgb/camera_info:=/data_throttled_camera_info cloud:=voxel_cloud __name:=points_xyzrgb __log:=/home/abhijeet/.ros/log/7da4aab2-2f58-11e8-a0f9-68a3c42fe28b/points_xyzrgb-2.log].
log file: /home/abhijeet/.ros/log/7da4aab2-2f58-11e8-a0f9-68a3c42fe28b/points_xyzrgb-2*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete

Thanks for any help.

matlabbe commented 6 years ago

Version of the master branch has been updated last week to 0.16. It can be that old 0.15 librairies are used instead of 0.16 when launching rtabmap_ros, causing link problems and crash. Try to do a clean build for rtabmap project (remove everything in build directory and do cmake/make/make install again). Make sure that 0.16 libraries are installed in rtabmap-0.16 sub directory, not rtabmap-0.15. Then update and remake rtabmap_ros.

cheers, Mathieu