Ask Your Question
1

ros package path

asked 2012-02-19 05:51:58 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

i am using ros tutorials to understand ros i am stuck in ROS_PACKAGE_PATH how to create it or what to do with it i am bit confused about it kindly help me out?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2012-02-19 06:03:56 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Have you had a look at this page http://ros.org/wiki/ROS/EnvironmentVariables? If you just want to quickly compile a bunch of example, do

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:`pwd`

in the folder where you have kept the tutorial packages. Otherwise, the tutorials are very comprehensive usually.

edit flag offensive delete link more

Comments

for ROS_PACKAGE_PATH i have tp paste the same command as it is or have to make same changes "export ROS_PACKAGE_PATH=/home/user/ros/ros-pkg:/another/path"

danish gravatar imagedanish ( 2012-02-20 03:27:20 -0600 )edit

When I try to add in groovy another path like

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH: pwd after reopening the termianl or in a new tab, the ROS_PACKAGE_PATH does not contains the earlier added path. Why?

zweistein gravatar imagezweistein ( 2013-03-03 23:01:34 -0600 )edit

I found out, i must put in my ~/.bashrc at the end the above mentioned code

zweistein gravatar imagezweistein ( 2013-03-04 01:20:53 -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: 2012-02-19 05:51:58 -0600

Seen: 5,874 times

Last updated: Feb 19 '12