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

ROS2 version

asked 2018-07-27 06:43:37 -0600

aks gravatar image

How can I know which version of ROS2 have i installed ? Ardent or Bouncy Bolson ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-07-27 07:29:14 -0600

The ROS_DISTRO envrionment variable will tell you which release you have. You can run:

printenv ROS_DISTRO

on the command line and it will tell you.

edit flag offensive delete link more

Comments

And how do we know which version are we installing ? Coz i guess it is not mentioned in the installation instructions.

aks gravatar image aks  ( 2018-07-27 07:31:45 -0600 )edit

I think you need to export this variable (export ROS_DISTRO=bouncy # or ardent : https://github.com/ros2/ros2/wiki/Lin... )

pokitoz gravatar image pokitoz  ( 2018-07-27 07:34:43 -0600 )edit

If you already have a distro of ROS2 installed then it will already be set

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-07-27 07:39:03 -0600 )edit

@aakash_sehgal It's cleared mentioned in these instructions: https://github.com/ros2/ros2/wiki/Lin...

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-07-27 07:40:22 -0600 )edit

Yes, now I see it, I guess the documentation is updated within the last month.

aks gravatar image aks  ( 2018-07-27 07:47:11 -0600 )edit

Yes probably, this is all moving quite fast at the moment!

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-07-27 09:00:51 -0600 )edit
3

How to know the patch release I am using?

Harsh2308 gravatar image Harsh2308  ( 2020-08-10 11:43:03 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-07-27 06:43:37 -0600

Seen: 35,129 times

Last updated: Jul 27 '18