-
Notifications
You must be signed in to change notification settings - Fork 48
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
fix: include order for cpplint #15
Conversation
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Signed-off-by: wep21 <border_goldenmarket@yahoo.co.jp>
Thanks for the PR - I am aware of an issue with octomap on Jammy but haven't had the time to fix it yet. I could get back to this in ~1.5 weeks |
@clalancette @nuclearsandwich could you also review this? This PR fixes regression test failure on rolling. |
This looks generally fine to me, and is inline with what we had to do elsewhere when we updated the version of cpplint in use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I'd usually request / recommend that the PR description be edited to describe the cpplint warnings that the change is resolving but as this isn't my project to review I'll abstain from "binding" requests.
As far as the changes themselves I don't feel qualified to evaluate them without more information.
I missed this last time. It's a great question; someone in the past must have wanted it when it wasn't available, or too old a version. That said, we really should be relying on the rosdep key if at all possible. I'd be for that change, though we'd have to check what depends on |
Hi @wep21 and all, From a quick check of available packages, I am in favour of removing ros-rolling-octomap and adding a rosdep key to the respective distribution versions. |
I looked into the underlying failure more closely and it's due to a common issue with finding OctoMap, as it only sets CMake variables with upper-case OCTOMAP by default:
As thus, the ament-auto-find-and-configure in the modified ROS2 CMakeLists fails. The reason non-rolling releases are fine is that I added patches to those releases to change the libdir from My current plan of action - independent from changing the rosdep key - is to modify Octomap's config.cmake to also set the |
This would be great @wxmerkt. Please @ me directly if you'd like reviews. |
This has now been merged upstream (OctoMap/octomap#369), but not yet released (and not sure if/when the [Ubuntu/RHEL/etc.] distro maintainers would make a new release either?). As a current solution, we can add |
Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
Thank you very much for the swift fix @wep21, and for the review and feedback @nuclearsandwich @clalancette |
fix include order to pass cpplint linter test