How to get ROS version?
Hi, is there a way how to get ROS version which I'm using. I mean not the one of electric, fuerte and so on, but if I'm using beta or not?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi, is there a way how to get ROS version which I'm using. I mean not the one of electric, fuerte and so on, but if I'm using beta or not?
As of Indigo the correct command for ROS1 is:
rosversion -d
For ROS2 instead use:
echo $ROS_DISTRO
rosversion -d gives me "jade" rosversion roscpp gives me "1.11.16" Does it mean I am using 1.11.16 jade version? Thank you
rosversion ros
This will print a version number. The current Fuerte release has version number 1.8. Everything above should be unstable at the moment.
It fails for me on Hydro, too. That may be a new bug. It should say 1.10.0. Probably worth a defect ticket: https://github.com/ros/ros/issues/new
$ rosversion ros <unversioned> with current kinetic (1.12.2) mmh?
Asked: 2012-05-11 00:34:15 -0500
Seen: 223,180 times
Last updated: May 11 '22
Roscd cannot find catkin_make 'd package
axis in the wrong place hand model
Laser scans rotating with robot while moving robot with teleop
How to see all parameters in the parameter server ?
how to convert the point cloud to baselink
Issue compling with ROS Diagnostic [Melodic]
Is there any package/tutorial to achieve this multi image fusion in ROS
cant't import file when using launch file
What does gencpp and EXPORTED_TARGETS refer to in CMakeLists.txt?
As this is a popular question and a top google result, maybe the accepted answer should be changed to a current solution, like the one presented by merosss