i installed rtabmap and rtabmap_ros from scratch with all dependencies (opencv,pcl,freenect,qt), but it is still not working, running rtabmap standalone gives the error:
Segmentation fault (core dumped) when running the command roslaunch rtabmap_ros rtabmap.launch rtabmap_args:="delete_db_on_start"It gives the following error [rtabmap/rtabmapviz-3] process has died [pid 21163, exit code -6, cmd /home/d4sys/catkin_ws/devel/lib/rtabmap_ros/rtabmapviz -d ~/.ros/rtabmap_gui.ini rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info rgbd_image:=rgbd_image_relay left/image_rect:=/stereo_camera/left/image_rect_color right/image_rect:=/stereo_camera/right/image_rect left/camera_info:=/stereo_camera/left/camera_info right/camera_info:=/stereo_camera/right/camera_info scan:=/scan scan_cloud:=/scan_cloud odom:=odom __name:=rtabmapviz __log:=/home/d4sys/.ros/log/f4e2306a-a9f4-11e8-80d0-f44d306a05ff/rtabmap-rtabmapviz-3.log]. log file: /home/d4sys/.ros/log/f4e2306a-a9f4-11e8-80d0-f44d306a05ff/rtabmap-rtabmapviz-3*.log [rtabmap/rgbd_odometry-1] process has died [pid 21161, exit code -11, cmd /home/d4sys/catkin_ws/devel/lib/rtabmap_ros/rgbd_odometry rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info rgbd_image:=rgbd_image_relay odom:=odom __name:=rgbd_odometry __log:=/home/d4sys/.ros/log/f4e2306a-a9f4-11e8-80d0-f44d306a05ff/rtabmap-rgbd_odometry-1.log]. log file: /home/d4sys/.ros/log/f4e2306a-a9f4-11e8-80d0-f44d306a05ff/rtabmap-rgbd_odometry-1*.log [rtabmap/rtabmap-2] process has died [pid 21162, exit code -11, cmd /home/d4sys/catkin_ws/devel/lib/rtabmap_ros/rtabmap rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info rgbd_image:=rgbd_image_relay left/image_rect:=/stereo_camera/left/image_rect_color right/image_rect:=/stereo_camera/right/image_rect left/camera_info:=/stereo_camera/left/camera_info right/camera_info:=/stereo_camera/right/camera_info scan:=/scan scan_cloud:=/scan_cloud user_data:=/user_data user_data_async:=/user_data_async odom:=odom __name:=rtabmap __log:=/home/d4sys/.ros/log/f4e2306a-a9f4-11e8-80d0-f44d306a05ff/rtabmap-rtabmap-2.log]. log file: /home/d4sys/.ros/log/f4e2306a-a9f4-11e8-80d0-f44d306a05ff/rtabmap-rtabmap-2*.logkindly help me solve this issue. Regards |
Administrator
|
Hi,
launch with gdb to get more info: $ gdb rtabmap // on crash, do "bt" (for backtrace)Also do the following to see all dependencies: $ ldd rtabmap Make sure you can run the rtabmap standalone app before trying ros. This can be an Eigen problem, multiple opencv versions used at the same time, pcl built with -march=native while other dependencies are not... You can also show the output of "cmake .." in rtabmap/build: $ cd rtabmap/build $ cmake .. cheers, Mathieu |
Free forum by Nabble | Edit this page |