ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
ROS_DISTRO gets set by roslib
:
https://github.com/ros/ros/blob/groovy-devel/core/roslib/env-hooks/10.ros.sh.em#L9
As catkin
is ROS agnostic, the responsibility for setting all ROS related environment variables is isolated into environment hooks which live in roslib
and are picked up by catkin
. Therefore, a workspace without roslib
in it will not produce ROS variables.
2 | No.2 Revision |
ROS_DISTRO gets set by roslib
:
https://github.com/ros/ros/blob/groovy-devel/core/roslib/env-hooks/10.ros.sh.em#L9
As catkin
is ROS agnostic, the responsibility for setting all ROS related environment variables is isolated into environment hooks which live in roslib
and are picked up by catkin
. Therefore, a workspace without roslib
in it will not produce ROS variables.
EDIT:
Sorry, I misread your question, ROS_DISTRO
should getting set to hydro
, but we have not update that line in the roslib version for hydro.
I opened a ticket about it here:
https://github.com/ros/ros/issues/10
I jumped to conclusions when I saw "empty workspace", my bad.