Setup » History » Version 5
Matthieu Herrb, 2019-06-19 15:19
explain ROS_VERSION
1 | 2 | Aurélie Clodic | h1. Setup your environment to use Genom3 |
---|---|---|---|
2 | 1 | Aurélie Clodic | |
3 | 5 | Matthieu Herrb | We assume that $INSTALL_PATH reflects the location where your component is installed and that you are using bash shell and $ROS_VERSION reflects the version of ROS you are using (ie kinetic, indigo,...) |
4 | 1 | Aurélie Clodic | |
5 | h2. Pocolibs |
||
6 | |||
7 | <pre> |
||
8 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$INSTALL_PATH/lib/pkgconfig |
||
9 | </pre> |
||
10 | |||
11 | h2. Ros |
||
12 | |||
13 | <pre> |
||
14 | source /opt/ros/$ROS_VERSION/setup.bash |
||
15 | export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$INSTALL_PATH/lib/pkgconfig |
||
16 | export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$INSTALL_PATH/src/ros-nodes:$INSTALL_PATH/share |
||
17 | 4 | Matthieu Herrb | export PYTHONPATH=/opt/ros/$ROS_VERSION/lib/python2.7/dist-packages:$INSTALL_PATH/lib/python2.7/site-packages |
18 | 1 | Aurélie Clodic | </pre> |