ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
There are two ways to do this:
As cyborg-x1 already hinted, you can also use ROS with multiple nodes over a network.
Start up the youbot as usual:
Connect network cable or wireless adapter, configure as appropriate or your environment.
On the youbot:
$ sudo ifconfig
), e.g. YOUBOT_IP=123.456.789.123export ROS_MASTER_URI=http://123.456.789.123:11311
export ROS_IP=123.456.789.123
On the laptop/PC:
export ROS_MASTER_URI=http://123.456.789.123:11311
export ROS_IP=123.456.789.123
As you need to do the exports for every shell that you start, you might want to put those lines into your .bashrc
or somewhere else that will be loaded.
(Have not done this myself, as we wanted the youbot to work with a wireless adapter, so no knowledge on mileage.)