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?
Did you append this command to your
~/.bashrc
file? That's one way to make sure that you actually set it every time you open up another terminal.Each time I get to the "Building Your Package" I have a sum total of 2 terminals I've used: 1) Roscore 2) Everything else in lessons up to and including 1.2 Building Your Package
Two terminals
*PS I'm using ROS Kinetic NOT Hydro * I don't know how "Hydro" got into my original query