Up to this point, you have dealt with a piece of configuration where the ROS master node ran in the robot. For the rest of this chapter, you will only be working with the laptop. Due to this, you need to revert your configuration so that the master node can be located again on the desktop computer. Otherwise, you will receive an error and won't be able to launch any ROS environment.
Remotely controlling both physical and virtual robots
Reverting the ROS master to the local computer
The solution to this is pretty simple; just follow these steps:
- Open your local .bashrc file and comment the line at the end that specifies what URL to point to in order to find the ROS master:
$ nano ~./bashrc
...
export ROS_HOSTNAME...