Ask Your Question
0

export more than one ROS_PACKAGE_PATH

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

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

ngrennan gravatar image

Hi guys,

I had source my catkin_ws as suggest me in this question: http://answers.ros.org/question/66084/catkin_make-package-not-found/?answer=66117#post-id-66117 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 http://www.ros.org/wiki/catkin/Tutorials/create_a_workspace how can I export both path?

thanks guys

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-28 06:49:28 -0600

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

Comments

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 imagedanielq ( 2013-06-28 07:05:11 -0600 )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 imagefelix k ( 2013-06-29 03:23:30 -0600 )edit

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

danielq gravatar imagedanielq ( 2013-07-01 01:24:27 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 188 times

Last updated: Jun 28 '13