Ask Your Question
0

How to get ROS2 version after install by debian package by command?

asked 2021-09-11 00:29:39 -0500

ROS_LOVER gravatar image

I have installed ROS2 distribution eloquent follow RoS guideline by debian package , but I want to check which version of eloquent has been installed , can anyone help me through this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-11 02:44:29 -0500

ijnek gravatar image

You ROS version is ROS2, and your Distro is Eloquent.

If you are looking for a semantic version number (a number like "X.Y.Z"), they are associated to the individual packages that were installed.

When installing ros2 through debian packages, (apt-get install), it installs a bunch of packages onto your computer with each package having their own different version number.


If you are looking to use ROS2, eloquent has reached it's end-of-life, so you should consider either:

  • foxy - for longer support but less new features, or
  • galactic - for shorter support but newer features
edit flag offensive delete link more

Comments

thank @ijnek, Are you sure about the version of ROS2 , I am new with ROS2 but in ROS you can see the version parameter when you run roscore, The information I want to extract is which release version of eloquent (on git hub) is use on debian package ?

ROS_LOVER gravatar image ROS_LOVER  ( 2021-09-11 02:51:29 -0500 )edit
1

As you probably know, there is no roscore in ros2, so I don't know what the alternative would be. If you're looking to find the version for a specific package, and you know the name of that package, you can do something like below:

Eg. Replace rviz2 with the package you're trying to see

ros2 pkg xml rviz2 | grep version

To see all packages on your system, you can use ros2 pkg list

ijnek gravatar image ijnek  ( 2021-09-11 03:18:03 -0500 )edit

Yes I can get the package version , but the point is I want to compare with release version on github. Thanks you for your comment.

ROS_LOVER gravatar image ROS_LOVER  ( 2021-09-11 06:44:48 -0500 )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

3 followers

Stats

Asked: 2021-09-11 00:29:39 -0500

Seen: 96 times

Last updated: Sep 11 '21