Ask Your Question
0

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
1

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

Dirk Thomas gravatar image

See the catkin documentation: http://docs.ros.org/api/catkin/html/u...

edit flag offensive delete link more

Comments

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 imagebluenote ( 2019-01-16 10:13:31 -0500 )edit
1

These variable are not coming from catkin itself and therefore are not mentioned in its documentation. E.g. the https://github.com/ros/ros_environment package sets ROS_DISTRO and ROS_VERSION and PYTHON_EXECUTABLE is just a CMake variable.

Dirk Thomas gravatar imageDirk Thomas ( 2019-01-16 10:28:10 -0500 )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

3 followers

Stats

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

Seen: 71 times

Last updated: Jan 16