Ask Your Question
0

ROS Arch linux wiki question

asked 2014-10-04 11:22:12 -0500

neoDEH gravatar image

Hi

I have a question about the following peice of code in http://wiki.ros.org/indigo/Installation/Arch

# ROS
indigo() {
  source /opt/ros/indigo/setup.bash
  export ROS_PACKAGE_PATH=/path/to/your/your/package/path:$ROS_PACKAGE_PATH
  export PYTHONPATH=/opt/ros/indigo/lib/python2.7/site-packages:$PYTHONPATH
  export PKG_CONFIG_PATH="/opt/ros/indigo/lib/pkgconfig:$PKG_CONFIG_PATH"
  alias python=/usr/bin/python2

  # Gazebo
  source /usr/share/gazebo/setup.sh
}

In this i did not understand the environment variable ROS_PACKAGE_PATH. Is is needed ? What is the role of it ?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-10-04 18:45:22 -0500

tfoote gravatar image

it is used to find packages to build from source.

I suggest you read about the filesystem concepts here it's also documented here: http://wiki.ros.org/ROS/EnvironmentVa...

edit flag offensive delete link more
0

answered 2014-10-06 09:04:16 -0500

neoDEH gravatar image

Thanks was useful.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-10-04 11:22:12 -0500

Seen: 76 times

Last updated: Oct 06 '14