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

Revision history [back]

I ran into this but then tried to reproduce it in a stripped down workspace (only a single package), but then it worked as expected:

source /opt/ros/jade/setup.bash
echo $ROS_PACKAGE_PATH
/opt/ros/jade/share:/opt/ros/jade/stacks
cd ~/catkin_ws
rm -rf build devel install
catkin_make
...

source devel/setup.bash 
echo $ROS_PACKAGE_PATH
/home/lucasw/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks

source install/setup.bash 
echo $ROS_PACKAGE_PATH
/home/lucasw/catkin_ws/install/share:/home/lucasw/catkin_ws/install/stacks:/opt/ros/jade/share:/opt/ros/jade/stacks

source devel/setup.bash 
echo $ROS_PACKAGE_PATH
/home/lucasw/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks

In my larger workspace I've tried repairing ROS_PACKAGE_PATH by hand export ROS_PACKAGE_PATH=/home/lucasw/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks, but then when I attempt to roslaunch something:

multiple files named [bar.launch] in package [foo]:
- /home/lucasw/catkin_ws/install/share/foo/launch/bar.launch
- /home/lucasw/catkin_ws/src/foo/launch/bar.launch
Please specify full path instead

Where is it getting that install path from?

I ran into this but then tried to reproduce it in a stripped down workspace (only a single package), but then it worked as expected:

source /opt/ros/jade/setup.bash
echo $ROS_PACKAGE_PATH
/opt/ros/jade/share:/opt/ros/jade/stacks
cd ~/catkin_ws
rm -rf build devel install
catkin_make
...

source devel/setup.bash 
echo $ROS_PACKAGE_PATH
/home/lucasw/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks

catkin_make install
source install/setup.bash 
echo $ROS_PACKAGE_PATH
/home/lucasw/catkin_ws/install/share:/home/lucasw/catkin_ws/install/stacks:/opt/ros/jade/share:/opt/ros/jade/stacks

source devel/setup.bash 
echo $ROS_PACKAGE_PATH
/home/lucasw/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks

In my larger workspace I've tried repairing ROS_PACKAGE_PATH by hand export ROS_PACKAGE_PATH=/home/lucasw/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks, but then when I attempt to roslaunch something:

multiple files named [bar.launch] in package [foo]:
- /home/lucasw/catkin_ws/install/share/foo/launch/bar.launch
- /home/lucasw/catkin_ws/src/foo/launch/bar.launch
Please specify full path instead

Where is it getting that install path from?