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

ros package path

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

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 -0500

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 image danish  ( 2012-02-20 03:27:20 -0500 )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 image zweistein  ( 2013-03-03 23:01:34 -0500 )edit

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

zweistein gravatar image zweistein  ( 2013-03-04 01:20:53 -0500 )edit

Question Tools

Stats

Asked: 2012-02-19 05:51:58 -0500

Seen: 6,276 times

Last updated: Feb 19 '12