Repository navigation
Switch to system version of octomap. - #2881
Merged
sjahr merged 2 commits intoJul 8, 2024
Merged
Conversation
This is so that we have a consistent ABI between these packages and anything else in the system that depends on octomap. We'll eventually be removing the ROS-provided version of octomap to make sure we don't have these problems in the future. Signed-off-by: Chris Lalancette <[email protected]>
Contributor
Author
|
Friendly ping on this one; we are going to shortly remove |
nbbrooks
added a commit
to nbbrooks/moveit2
that referenced
this pull request
Jun 16, 2026
Ubuntu Resolute ships liboctomap-dev 1.10.0; the existing <1.10.0 upper bound rejects it and blocks moveit_core from configuring on Resolute. Widen to <2.0.0 — any 1.x is acceptable, with a guard against a hypothetical breaking 2.0. The original narrow pin in moveit#2862 was a defensive workaround for an ABI skew when moveit_core pulled in ros-*-octomap (1.10) alongside system liboctomap-dev (1.9.7) via libfcl-dev. That skew can no longer be introduced by moveit2's own deps: PR moveit#2881 switched moveit_core and moveit_ros/occupancy_map_monitor to depend directly on liboctomap-dev, and Kilted/Rolling no longer publish ros-*-octomap at all (only Humble and Jazzy still do). Affected files: moveit_core/CMakeLists.txt, moveit_ros/occupancy_map_monitor/CMakeLists.txt. Refs: moveit#2862, moveit#2881.
1 of 5 tasks
nbbrooks
added a commit
to nbbrooks/moveit2
that referenced
this pull request
Jun 16, 2026
moveit2 already treats octomap like any other system dependency since PR moveit#2881 (which switched moveit_core / moveit_ros/occupancy_map_monitor from <depend>octomap</depend> to <depend>liboctomap-dev</depend>). The 1.9.7...<1.10.0 range in CMakeLists.txt was the leftover artifact of moveit#2862's defensive workaround for an ABI skew that moveit2's own deps no longer create. The range also blocks moveit_core from configuring on Ubuntu Resolute, which ships liboctomap-dev 1.10. Drop the range entirely. find_package(octomap REQUIRED) matches the convention used by fcl, Eigen3, pluginlib, and the rest of moveit_core. Refs: moveit#2862, moveit#2881.
nbbrooks
added a commit
that referenced
this pull request
Jun 16, 2026
moveit2 already treats octomap like any other system dependency since PR #2881 (which switched moveit_core / moveit_ros/occupancy_map_monitor from <depend>octomap</depend> to <depend>liboctomap-dev</depend>). The 1.9.7...<1.10.0 range in CMakeLists.txt was the leftover artifact of #2862's defensive workaround for an ABI skew that moveit2's own deps no longer create. The range also blocks moveit_core from configuring on Ubuntu Resolute, which ships liboctomap-dev 1.10. Drop the range entirely. find_package(octomap REQUIRED) matches the convention used by fcl, Eigen3, pluginlib, and the rest of moveit_core. Refs: #2862, #2881.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is so that we have a consistent ABI between these packages and anything else in the system that depends on octomap. We'll eventually be removing the ROS-provided version of octomap to make sure we don't have these problems in the future.
This should solve the issue in ros/rosdistro#41622 , and was enabled by the merging of ros/rosdistro#41623
Checklist