Ask Your Question
0

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
1

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

How to know the patch release I am using?

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 2,057 times

Last updated: Jul 27 '18