Remote Rviz visualisation / Hector_SLAM
Hello !
Actually I'm working on hector_slam with my raspberry pi 3 ( ROS Kinetic / Ubuntu Mate ), and it works pretty well.
Btw I use a RPLIDAR A1 from slamtech using a USB port from my PI3.
But I want to see the Rviz visualisation remotly on my PC and not on my PI.
I did all the network configurations between my PI and py PC. But when I try my launch command ( on my pc ) :
$ export ROS_MASTER_URI=http://IP_ADDRESS_OF_RASPBERRY_PI:11311
$ export ROS_IP=IP_ADDRESS_OF_LOCAL_PC
$ roslaunch rplidar_ros view_slam.launch
I get this error :
[rplidarNode-1] process has died [pid 2570, exit code 255, cmd /home/janken/catkin_ws/devel/lib/rplidar_ros/rplidarNode __name:=rplidarNode __log:=/home/janken/.ros/log/195e88a2-2868-11e9-a4ec-b827eb0ab788/rplidarNode-1.log].
log file: /home/janken/.ros/log/195e88a2-2868-11e9-a4ec-b827eb0ab788/rplidarNode-1*.log
I suppose that there is a problem from my RPLIDAR. I actually suppose that I get this error because my LIDAR is not directly wired to my PC , maybe I didn't understand well the utility of ROS_MASTER.
Thanks for reading, I hope you will help me ! I'm pretty new in this world :)