Delete ros package path
How can we delete the current package paths, create a new package path?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
How can we delete the current package paths, create a new package path?
go to your home folder, on the top menu hit view, then select show hidden files. Click on the .bashrc file and scroll to the bottom and change the line:
export ROS_PACKAGE_PATH=WHATEVER YOU WANT
where WHATEVER YOU WANT is a valid location on your file system, multiple locations can be seperated by a ':' for example mine is
export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/electric/stacks
It's also good practice to use the rosws (http://www.ros.org/wiki/rosws) tool and rosinstall (http://www.ros.org/wiki/rosinstall) to maintain your package path, rather than doing it by hand.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-06-20 06:52:39 -0500
Seen: 4,282 times
Last updated: Jun 20 '12
Problems after installing RoboEarth [closed]
Order of catkin source setup.bash files matters?
Deleted .bashrc line, how to set path to ROS?
roscd returns "bash: reldir: unbound variable"
How to source setup.bash with catkin build?
How to add a new directory to ROS_PACKAGE_PATH?
Problem creating new packages, error in workspace.
Navigation nodes aren't found if devel setup.bash sourced in addition to the opt devel
fuerte_workspace/setup.bash not found, Permission denied [closed]