Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to add a new directory to ROS_PACKAGE_PATH?

I'm working on ROS hydro ,Ubuntu 12.04.

I've created a new directory and i'm unable to add it to ROS_PACKAGE_PATH. Here's what i'm writing to do this:

export ROS_PACKAGE_PATH= /home/user/<name_of-directory_i_want_to_add>:/opt/ros/hydro/share:/opt/ros/hydro/stacks:$ROS_PACKAGE_PATH

(All in one line)

How do i add my directory to the ROS_PACKAGE_PATH?

How to add a new directory to ROS_PACKAGE_PATH?

I'm working on ROS hydro ,Ubuntu 12.04.

I've created a new directory and i'm unable to add it to ROS_PACKAGE_PATH. Here's what i'm writing to do this:

export ROS_PACKAGE_PATH= /home/user/<name_of-directory_i_want_to_add>:/opt/ros/hydro/share:/opt/ros/hydro/stacks:$ROS_PACKAGE_PATH

(All in one line)

where /opt/ros/hydro/share:/opt/ros/hydro/stacks is what i get when i type: echo $ROS_PACKAGE_PATH

How do i add my directory to the ROS_PACKAGE_PATH?