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

Delete ros package path

asked 2012-06-20 06:52:39 -0500

sandeep gravatar image

updated 2014-01-28 17:12:44 -0500

ngrennan gravatar image

How can we delete the current package paths, create a new package path?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-06-20 06:56:56 -0500

Rydel gravatar image

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

edit flag offensive delete link more

Comments

1

always keep /opt/ros/electric/stacks as that's where the main install is

Rydel gravatar image Rydel  ( 2012-06-20 06:58:15 -0500 )edit

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.

mjcarroll gravatar image mjcarroll  ( 2012-07-02 13:28:50 -0500 )edit

Question Tools

Stats

Asked: 2012-06-20 06:52:39 -0500

Seen: 4,419 times

Last updated: Jun 20 '12