Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port support for Ceres 2.1.0 Manifold class into ROS 2 Rolling #366

Merged
merged 3 commits into from
Apr 20, 2024

Conversation

svwilliams
Copy link
Contributor

@svwilliams svwilliams commented Apr 17, 2024

Port support for Ceres 2.1.0 Manifold class into ROS 2 Rolling.
See the ROS 1 PRs for more details

This should be the same changes as the ROS 1 PR. However, because of the file name changes and formatting changes between ROS 1 and ROS 2, cherry-picking the changes didn't exactly go smoothly. Additionally, ROS 2 Rolling is now being built against Ubuntu Noble, so there are some minor GCC changes required. And the ROS 2 formatting rules have updated slightly (most notably for macros), so there is quite a few pure formatting changes as well. I setup a docker container with the latest ROS 2 rolling image and this PR compiles and all tests pass. So give it a skim, but I wouldn't spend a ton of time worrying about it.

Also note that I will create a PR with the code changes but not the formatting changes that can be merged into the new iron branch. ROS 2 Iron builds on Jammy.

* Add support for the Manifold class when using Ceres Solver version 2.1.0 and above
* General clean up for Ceres 2.2.0 support
* Updated serialization support to be backwards compatible with previously serialized files
@svwilliams
Copy link
Contributor Author

Unit test failures are all related to uncrustify. The formatting rules for ROS 2 Rolling / Ubuntu Noble have changed slightly, but our CI system is still using the Ubuntu Jammy version.

@svwilliams svwilliams merged commit 6c79b2a into rolling Apr 20, 2024
0 of 3 checks passed
@svwilliams svwilliams deleted the gcc12-ceres-2.1.0-manifold-rolling branch April 20, 2024 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants