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

Revision history [back]

click to hide/show revision 1
initial version

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:

  • https://github.com/ros/ros/blob/indigo-devel/core/roslib/env-hooks/10.ros.sh.em#L33
  • https://github.com/ros/ros/blob/indigo-devel/core/roslib/env-hooks/10.ros.bat.em#L32