Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For anyone that is running ROS groovy and needs to configure a turtlebot and a workstation. If you are having problems with the tutorials on the ROS website just follow this steps:

What needs to be done in order to change the ROS_MASTER_URI and ROS_HOSTNAME is simply edit the .bashrc and .bashrc~ files on both computers. Also note that .bashrc and .bashrc~ are two seperate files. The way ubuntu was setup on both laptops I could easily access the .bashrc file by clicking on the file explorer and on the home directory typing crtl+h to view hidden files. Thanks to donmrsir.

However the .bashrc~ file had to be opened up through the terminal using a command line text editor.

On the turtlebot laptop just add to the end of both of the files:

export ROS_MASTER_URI=http://ip_address_of_turtlebot:11311
export ROS_HOSTNAME=ip_address_of_turtlebot

On the Workstation:

export ROS_MASTER_URI=http://ip_address_of_turtlebot:11311
export ROS_HOSTNAME=ip_address_of_workstation

the ip address can be retrieved by launching ifconfig on the ubuntu terminal and looking at the wlan0 adapter: and look at the int addr: attribute.