Closed wep21 closed 4 months ago
Might be better to drop the dependency on PCL and TBB as well to avoid forcing people to install the huge dependency.
I'm wondering if we should directly add package.xml to small_gicp or we should create a separate vendor package. I tend to want to keep a package isolated from ROS when it's possible.
@valgur Do you have any opinions?
I think it would be reasonable to add package.xml
because many ROS people would be interested in this package. I would like to merge this PR once libpcl-all-dev
and tbb
are removed.
The library is definitely relevant to ROS, so ROS 1/2 packaging support directly in the repo would be welcome, I think.
However, the current PR is incomplete for a catkin package. It's missing find_package(catkin ...)
, catkin_package()
and catkin-specific install()
commands. Creating a separate cmake/catkin.cmake
that could then be conditionally included might make sense to keep things clean. The install commands in the main CMakeLists.txt can be made configurable, so they can be overridden for catkin, perhaps.
I would also strongly encourage adding a minimal CI workflow to test this.
Might be worth looking into adding ROS 2 / Ament support at the same time as well.
make pcl and tbb optional in package.xml at https://github.com/koide3/small_gicp/pull/26/commits/9ff9b1b68d44d15536f9e80272a8cecaeff55a9e.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 91.77%. Comparing base (
06114f8
) to head (d331f08
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I guess This minimum change make the package behave as both catkin/ament package.
Thanks. I think we can merge the PR in the current form for now and add further modifications later.