Turtlebot, Raspberry and Wifi [closed]
Hello,
I have a turtlebot which will be running ROS and I also have a Raspberry which has also ROS running. The connection between both of them is with a static IP for the RPI and an ethernet cable. So far so good, I launched roscore in the turtlebot and some launch files in the RPI an it works like it should. The problem is that I would need to access some topics launched in the RPI from another laptop over wifi. So the problem is, if I set the ROS_MASTER_URI with the ethernet of the turtlebot in the RPI, how can I access ROS from the laptop over wifi if I don't use the wifi's IP address as ROS_MASTER_URI?
Maybe this helps a bit:
RPI: Static IP=192.168.7.1 On the turtlebot I have a new ethernet connection (192.168.7.2) and this way I can ssh to the turtlebot to launch my ROS nodes. Therefore, I set ROS_MASTER_URI=http://192.168.7.2 on both turtlebot and RPI. (Ethernet IP).
The issue is that I want to get the topics from another laptop over wifi, as the robot will be moving.....How should ROS_MASTER_URI be configured?
Thanks for any tips!