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

How to find compatible versions of rtabmap and rtabmap_ros?

asked 2022-05-27 00:29:15 -0500

electrophod gravatar image

Hi there!

I am trying to use rtabmap for my project. I wish to build it (rtabmap and rtabmap_ros) from source. But I am not able to find the correct/matching/compatible versions of rtabmap and rtabmap_ros on GitHub. In the following release pages of rtabmap and rtabmap_ros the release versions aren't exactly on the same page and also there is less information provided as to which of the rtabmaps version is compatible with which of the rtabmap_ros's version.

Can someone tell me how to identify the matching versions?

TIA

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2022-05-28 08:36:23 -0500

Mike Scheutzow gravatar image

In general, you should git checkout the branch that corresponds to your ros release, melodic-devel in this case. That selects the code that the author thinks is best. Most git ros packages follow a naming style similar to this.

Of course, if the code author tells you branch master will work, that's an alternative too.

edit flag offensive delete link more

Comments

1

Although this isn't my question, thank you for your answer since I didn't know this was a solution to it and it will save my time in the near future when I have to check for compatibility between ros packages and a ros distro!

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-06-03 06:47:28 -0500 )edit
0

answered 2022-05-27 03:34:15 -0500

qilin_gundamenjoyer gravatar image

updated 2022-05-27 03:37:29 -0500

According to the official github page for rtabmap_ros. It's compatible with Indigo, Kinetic, Melodic, and Noetic. If you don't know what distro your ROS is currently on, simply type ros --version in the terminal. After that, you can install the package with sudo apt-get install ros-distro_name-rtabmap-ros. If your ROS isn't on either of the four distros, I would suggest you to just uninstall your current ROS version since it's quite outdated already and install either melodic or noetic since those are the most updated versions. You can also go for the latest version, Humble Hawksbill, but I am not sure if your package is supported on that distro. After installation, You can simply just type apt search ros-distro_name in the terminal and navigate to verify whether or not rtabmap and rtabmap_ros is supported for your version if you want. After you installed rtabmap_ros, you can check whether the package is installed with rospack list.

~Gundam Out.`

edit flag offensive delete link more

Comments

Thanks for your time and answer but I think you have misunderstood the question. I do not want to install rtabmap and rtabmap_ros as debian binaries. I want to build them from source. My question is not about compatibility of ROS versions with rtabmap/rtabmap_ros but compatibility of rtabmap and rtabmap_ros versions with each other.

electrophod gravatar image electrophod  ( 2022-05-27 04:33:04 -0500 )edit

Scroll down to Buld from source or click the hamburger menu icon on the top left of the README.md file. It will guide you on how to build it from source. The compatiblity of your rtabmap_ros with rtabmap will be stated there. Most of the compatibility requirements will be stated at 1. Optional dependencies. I recommend following it chronologically.

~Gundam Out.`

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-05-27 05:09:22 -0500 )edit
2

Master branch from both projects should be compatible on melodic and noetic, otherwise there is a bug.

matlabbe gravatar image matlabbe  ( 2022-05-27 07:43:33 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2022-05-27 00:29:15 -0500

Seen: 341 times

Last updated: May 28 '22