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

catkin_add_env_hooks cross-platform?

asked 2014-03-07 03:09:16 -0600

What are implications of catkin_add_env_hooks and Windows? Do they just get ignored, with the intent that they're mainly there to provide window-dressing stuff like tab completion?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-03-07 04:19:10 -0600

Dirk Thomas gravatar image

Environment hooks are not only available on Linux. And they don't only provide stuff like tab completion.

It is perfectly valid and encouraged to not only have sh/bash environment hooks but also bat equivalents. E.g. the ROS_PACKAGE_PATH must be available on all platforms and is also defined in an environment hook:

edit flag offensive delete link more

Comments

Okay, that's helpful, thanks. My specific interest is detecting hardware at setup time, for example to optionally launch drivers depending on paths present in /dev (or equivalent detecting schemes on other platforms).

mikepurvis gravatar image mikepurvis  ( 2014-03-07 05:28:03 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-03-07 03:09:16 -0600

Seen: 483 times

Last updated: Mar 07 '14