ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Enter the following into the commandline:

echo -e "\nexport ROS_PACKAGE_PATH=~/ros_workspace:$ROS_PACKAGE_PATH\n" >> ~/.bashrc

Then, in order to see the changes, you must remember to source your bashrc. (This only needs to be done on any terminals already open. Any new terminals you open henceforth will already be all set.)

source ~/.bashrc

Enter You need to add your ros_workspace to your ROS_PACKAGE_PATH. This can be done in your bashrc file. For a short, one-line solution enter the following into the commandline:

echo -e "\nexport ROS_PACKAGE_PATH=~/ros_workspace:$ROS_PACKAGE_PATH\n" >> ~/.bashrc

Then, in order to see the changes, you must remember to source your bashrc. (This only needs to be done on any terminals already open. Any new terminals you open henceforth will already be all set.)

source ~/.bashrc