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

export more than one ROS_PACKAGE_PATH

asked 2013-06-27 09:33:29 -0500

updated 2014-01-28 17:17:04 -0500

ngrennan gravatar image

Hi guys,

I had source my catkin_ws as suggest me in this question: but when I roslaunch my launch file the other package are't found.

I had create the ws inside the ROS_PACKAGE_PATH following this tutorial how can I export both path?

thanks guys

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-28 06:49:28 -0500

felix k gravatar image

Have you tried extending your ROS_PACKAGE_PATH after sourcing the catkin workspace? Like with:

export ROS_PACKAGE_PATH=~/ros_workspace:$ROS_PACKAGE_PATH
edit flag offensive delete link more


Thanks for the answer @felix k , I tryed to add that line on my bashrc but without results, soo I added this line: source /home/master/catkin_ws/devel/setup.bash to bashrc and it works. but I don't know if it is the correct way...

danielq gravatar image danielq  ( 2013-06-28 07:05:11 -0500 )edit

Uhm, sourcing that file was exactly the suggestion from Jeremy in that other question, what have you actually done? Anyway, this would be the ideal line for your .bashrc, my export line would only be needed for another or a rosbuild workspace. I don't see what you meant by 'other package'.

felix k gravatar image felix k  ( 2013-06-29 03:23:30 -0500 )edit

Sorry, I mean other rosbuild package like the node for the motor driver.

danielq gravatar image danielq  ( 2013-07-01 01:24:27 -0500 )edit

Question Tools


Asked: 2013-06-27 09:33:29 -0500

Seen: 545 times

Last updated: Jun 28 '13