Re: RGB-D SLAM example on ROS and Raspberry Pi 3
Posted by
JonatanJos on
URL: http://official-rtab-map-forum.206.s1.nabble.com/RGB-D-SLAM-example-on-ROS-and-Raspberry-Pi-3-tp1250p3751.html
Hi,
i'm using a RPI 3B and all is fine there, but, doesn't work on my pc, i'm sure Ip's are correct, but when i use
ROS_NAMESPACE=rtabmap rosrun rtabmap_ros rtabmapviz _subscribe_odom_info:=false _frame_id:=camera_link
this appear
[ INFO] [1507244874.796473950]: Starting node...
[ERROR] [1507245004.961140490]: [setParam] Failed to contact master at [172.17.0.1:11311]. Retrying...
the PC's ip

and the RPI's IP

what am i doing wrong? thanks.
in the RPI i use this commands:
$ export ROS_IP=172.17.0.1
$ roslaunch freenect_launch freenect.launch depth_registration:=true data_skip:=2
$ roslaunch rtabmap_ros rgbd_mapping.launch rtabmap_args:="--delete_db_on_start --Vis/MaxFeatures 500 --Mem/ImagePreDecimation 2 --Mem/ImagePostDecimation 2 --Kp/DetectorStrategy 6 --OdomF2M/MaxSize 1000 --Odom/ImageDecimation 2" rtabmapviz:=false
in PC this commands:
$ export ROS_MASTER_URI=
http://172.17.0.1:11311/$ export ROS_IP=192.168.1.2
$ ROS_NAMESPACE=rtabmap rosrun rtabmap_ros rtabmapviz _subscribe_odom_info:=false _frame_id:=camera_link