ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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
2 | No.2 Revision |
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