Remove octomap dependency#269
Merged
Merged
Conversation
The versioned dependency doesn't work out on the latest ubuntu release. However, since compatibility to libfcl-dev is mentioned in the comment: Octomap should be linked in as a transitive depencency from fcl. In fact, octomap isn't linked to the target, anyway, but fcl is. Looking at the built library it seems that it seems to be correctly linked against liboctomap. Since it's used a private link target (only used from within a CPP file and fcl being linked privately) it should be save to remove the dependency altogether, at least from my understanding.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## ros2 #269 +/- ##
=======================================
Coverage 69.04% 69.04%
=======================================
Files 21 21
Lines 3368 3368
Branches 325 325
=======================================
Hits 2325 2325
Misses 932 932
Partials 111 111 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Contributor
Author
|
I would expect that as long as fcl is built correctly against octomap, it will expose the correct library. Thus, it might help with that issue, as well. |
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.
The versioned dependency doesn't work out on the latest ubuntu release. However, since compatibility to libfcl-dev is mentioned in the comment: Octomap should be linked in as a transitive depencency from fcl.
In fact, octomap isn't linked to the target, anyway, but fcl is. Looking at the built library it seems that it seems to be correctly linked against liboctomap:
Since it's used a private link target (only used from within a CPP file and fcl being linked privately) it should be save to remove the dependency altogether, at least from my understanding.
Tested to build locally in a resolute-rolling docker container.
This is from my point of view one way to address #268