# Rolling (and soon Humble) release of both cartographer and cartographer-ros v2 (and call for testing)

**URL:** <https://discourse.openrobotics.org/t/rolling-and-soon-humble-release-of-both-cartographer-and-cartographer-ros-v2-and-call-for-testing/25137>\
**Category:** ROS General\
**Tags:** release, ros2, cartographer, rolling, humble\
**Created:** [April 16, 2022, 1:22pm UTC](https://discourse.openrobotics.org/t/rolling-and-soon-humble-release-of-both-cartographer-and-cartographer-ros-v2-and-call-for-testing/25137 "2022-04-16T13:22:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![doisyg](https://sea2.discourse-cdn.com/flex022/user_avatar/discourse.openrobotics.org/doisyg/32/14638_2.png) [@doisyg](https://discourse.openrobotics.org/u/doisyg)\
**Post date:** [April 16, 2022, 1:22pm UTC](https://discourse.openrobotics.org/t/rolling-and-soon-humble-release-of-both-cartographer-and-cartographer-ros-v2-and-call-for-testing/25137/1 "2022-04-16T13:22:29Z")

</div>

At Wyca Robotics, we were using some components of `cartographer-ros` as part of our ros1 workflow and we internally ported the missing parts to ros2 when doing the transition to `Galactic`. We then tried to share our port and thanks to the help of @clalancette it is now merged and part of the rolling release.

 ![](https://us1.discourse-cdn.com/flex022/uploads/ros/original/2X/e/e4fbcda6004cfa1bd38e8f01595d22623da86f84.png)

# In short:

Both `ros-rolling-cartographer` and `ros-rolling-cartographer-ros` have been released to rolling as part of [New packages for ROS 2 Rolling Ridley 2022-04-12 - ROS Announcements and News - Open Robotics Discourse](http://discourse.ros.org/t/new-packages-for-ros-2-rolling-ridley-2022-04-12/25092).

As opposed to previous ros2 releases (and similarly to ros1) this version of the ros wrapper of cartographer is complete: not only the live node but also the super useful offline\_node for building maps (by consuming bags) at max CPU speed. And other tools like the asset\_writer and the launch files.

# More details:

`ros-rolling-cartographer` now targets the cartographer library v2.0.0 and `ros-rolling-cartographer-ros` is now a full port of the ros1 noetic wrapper (which itself was working with a version closer to the v2.0.0 of the library than the v1)

This can cause some API changes and a slightly different set of parameters compared to Foxy/Galactic for both the release library and the wrapper. However, this should maintain consistency with the more advanced parameters and API of the noetic version.

Also, because of the apparent lack of maintainers of the [Cartographer · GitHub](https://github.com/cartographer-project) organization, the ros2 port is now hosted on OSRF repo [GitHub - ros2/cartographer\_ros: Provides ROS integration for Cartographer.](https://github.com/ros2/cartographer_ros) (which was already hosting the partial ros2 port from previous ros2 versions)

For completeness and history:

- Original 2020 plan: [New ROS 2 port of cartographer\_ros - tracking issue · Issue #1536 · cartographer-project/cartographer\_ros · GitHub](https://github.com/cartographer-project/cartographer_ros/issues/1536)

- PR on the original repo targeting Galactic (not merged): [ROS2 rolling/galactic conversion by doisyg · Pull Request #1622 · cartographer-project/cartographer\_ros · GitHub](https://github.com/cartographer-project/cartographer_ros/pull/1622)

- Then moved to OSRF repo targeting rolling: [Migration to cartographer 2.0 library and proper ros2 implementation by doisyg · Pull Request #59 · ros2/cartographer\_ros · GitHub](https://github.com/ros2/cartographer_ros/pull/59)

# Call for testing:

My goal is to reach the same level of functionality, performance and behavior (with the same parameters) for cartographer in ros2 that we had in ros1 noetic. We should be pretty close now. But my tests don’t necessarily cover all use cases (notably, I personally don’t do 3D mapping with cartographer), so I welcome any feedback and I ll try to dedicate a bit of time to ensure that everything works fine in Humble.

To be noted that the dev and grpc executables were not converted. Plus there is a performance issue when publishing trajectory at very high frequency.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/ros/original/3X/b/6/b607ee3cc8e908b1b613bd74a683d749fea635a1.svg) [@system](https://discourse.openrobotics.org/u/system)\
**Post date:** [May 16, 2022, 1:22pm UTC](https://discourse.openrobotics.org/t/rolling-and-soon-humble-release-of-both-cartographer-and-cartographer-ros-v2-and-call-for-testing/25137/2 "2022-05-16T13:22:43Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
