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: 222,461 times
Last updated: May 11 '22
ImportError: No module named genpy
Differences between ROS and Player.
Ros ultrasonic sensor Rviz Error
Turning lights On and Off on Gazebo with ROS
roscd: No such package/stack 'turtlebot_navigation/'
Implementation of two subscribers
Nodelet performance vs number of instances
Unable to download model manifests
use custom ompl instead of ros own ompl
How to add image texture to gazebo as material through blender settings
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