Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes - add a line to your ~/.bashrc (assuming you're using Ubuntu)

export ROS_MASTER_URI=http://ubuntu:11311

If it's in your ~/.bashrc, it'll be exported every time you open up a new terminal.

click to hide/show revision 2
added a little more info about using "source"

Yes - add a line to your ~/.bashrc (assuming you're using Ubuntu)

export ROS_MASTER_URI=http://ubuntu:11311

If it's in your ~/.bashrc, it'll be exported every time you open up a new terminal. If you want edits to this file to take effect in your current terminal, type:

source ~/.basrhc
click to hide/show revision 3
Fixed according to thomas's comment

Yes - add a line to your ~/.bashrc (assuming you're using Ubuntu)bash)

export ROS_MASTER_URI=http://ubuntu:11311

If it's in your ~/.bashrc, it'll be exported every time you open up a new terminal. If you want edits to this file to take effect in your current terminal, type:

source ~/.basrhc