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

Catkin EmPY variables

asked 2019-01-16 09:20:14 -0500

bluenote gravatar image

updated 2019-01-16 09:21:47 -0500

I'm trying to create an env-hook for Catkin, and the common approach seems to be to use EmPY templates of shell scripts. I'm basically following the example of core/roslib/env-hooks.

The EmPY template seems to provide certain variables like @(ROS_DISTRO) or @(CATKIN_DEVEL_PREFIX). Where can I find an overview over which variables are defined withing a Catkin EmPY template and how exactly are they defined?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-01-16 10:05:09 -0500

Dirk Thomas gravatar image

See the catkin documentation:

edit flag offensive delete link more


Very helpful already, but it doesn't seem to be complete. It misses e.g. variables like @(PYTHON_EXECUTABLE) or @(ROS_DISTRO) or other ones I haven't seen in the wild.

bluenote gravatar image bluenote  ( 2019-01-16 10:13:31 -0500 )edit

These variable are not coming from catkin itself and therefore are not mentioned in its documentation. E.g. the package sets ROS_DISTRO and ROS_VERSION and PYTHON_EXECUTABLE is just a CMake variable.

Dirk Thomas gravatar image Dirk Thomas  ( 2019-01-16 10:28:10 -0500 )edit

Question Tools



Asked: 2019-01-16 09:20:14 -0500

Seen: 548 times

Last updated: Jan 16 '19