ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
A quick Google search gives me #q284146. The more recent of the two answers there show that if you want to see which distro is in use (Indigo and later), run
rosversion -d
otherwise run
rosversion ros
to see the version for pre-Indigo (for me this command returns <unversioned>
, I'm using Indigo).
2 | No.2 Revision |
A quick Google search gives me #q284146. The more recent of the two answers there show that if you want to see which distro is in use (Indigo and later), run
rosversion -d
otherwise run
rosversion ros
to see the version for pre-Indigo (for me this command returns <unversioned>
, I'm using Indigo).
Edit:
as @gvdhoorn pointed out in the comments
Additionally, after
source
ing the rightsetup.bash
, theROS_DISTRO
environment variable should be set.
Which means that you can get the ROS distribution with
echo $ROS_DISTRO
as well
3 | No.3 Revision |
A quick Google search gives me #q284146#q33769. The more recent of the two answers there show that if you want to see which distro is in use (Indigo and later), run
rosversion -d
otherwise run
rosversion ros
to see the version for pre-Indigo (for me this command returns <unversioned>
, I'm using Indigo).
Edit:
as @gvdhoorn pointed out in the comments
Additionally, after
source
ing the rightsetup.bash
, theROS_DISTRO
environment variable should be set.
Which means that you can get the ROS distribution with
echo $ROS_DISTRO
as well