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 | ros @ Robotics Stack Exchange |
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.
Asked: 2012-06-20 06:52:39 -0500
Seen: 4,421 times
Last updated: Jun 20 '12
roscd returns "bash: reldir: unbound variable"
ROS_PACKAGE_PATH erased every time I source devel/setup.bash
Deleted .bashrc line, how to set path to ROS?
Broken ROS hydro configuration [closed]
Problems after installing RoboEarth [closed]
Order of catkin source setup.bash files matters?
difference between devel folder and install folder in catkin_ws
Sourcing from multiple workspaces
rospack cannot find package made by cmake even after sourcing