Re: RTAB-Map rgbd_launch error Map received with code error 1!

Posted by Gabe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/RTAB-Map-rgbd-launch-error-Map-received-with-code-error-1-tp1379p1392.html

Hi Matlabbe,

Thanks so much for all the help. I copied your launch file onto my notfreenect_throttle.launch, and i ran roslaunch notfreenect_throttle.launch rate:=5, but I still get the same error.

When i type rostopic list, I do have a camera/camera_nodelet_manager/bond topic already running, maybe that could be the reason for the problem?

Also, on the Robot, I am able to run rtabmap but i get errors. This is what happens when i try to run the following code:


roslaunch rtabmap_ros rgbd_mapping.launch _image_transport:=compressed rtabmaprviz:=false rviz:=true odom:=/odometry/filtered rgb/image:=/camera/rgb/image_rect?color depth_image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info queue_size:=10 RGBD/AngularUpdate:=0.01 RGBD/LinearUpdate:=0.01 Rtabmap/TimeThr:=700 Mem/RehearsalSimilarity:=0.45 RGBD/OptimizeFromGraphEnd:=true



[rviz-4] process has died [pid 10899, exit code 1, cmd /opt/ros/indigo/lib/rviz/rviz -d /home/administrator/catkin_ws/src/rtabmap_ros/launch/config/rgbd.rviz __name:=rviz __log:=/home/administrator/.ros/log/9a753c5e-28cc-11e6-a71f-2d76ac6d1fb5/rviz-4.log].
log file: /home/administrator/.ros/log/9a753c5e-28cc-11e6-a71f-2d76ac6d1fb5/rviz-4*.log
[ INFO] [1464879436.743081322]: Starting node...
[ INFO] [1464879436.788226416]: Starting node...
rtabmapviz: cannot connect to X server
[rtabmap/rtabmapviz-3] process has died [pid 10898, exit code 1, cmd /home/administrator/catkin_ws/devel/lib/rtabmap_ros/rtabmapviz -d /home/administrator/catkin_ws/src/rtabmap_ros/launch/config/rgbd_gui.ini rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth_registered/image_raw rgb/camera_info:=/camera/rgb/camera_info scan:=/scan scan_cloud:=/scan_cloud __name:=rtabmapviz __log:=/home/administrator/.ros/log/9a753c5e-28cc-11e6-a71f-2d76ac6d1fb5/rtabmap-rtabmapviz-3.log].
log file: /home/administrator/.ros/log/9a753c5e-28cc-11e6-a71f-2d76ac6d1fb5/rtabmap-rtabmapviz-3*.log


and then it continues printing Odom: quality= #, std dev=#, update time = # with all different numbers.

Thanks for all the help, it is very appreciated. Let me know if you have any ideas.