-
Notifications
You must be signed in to change notification settings - Fork 340
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
Update generate_parameter_library dependency in steering_controllers_library #1465
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1465 +/- ##
=======================================
Coverage 83.83% 83.83%
=======================================
Files 122 122
Lines 11120 11121 +1
Branches 944 945 +1
=======================================
+ Hits 9322 9323 +1
Misses 1489 1489
Partials 309 309
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Thanks!
We have it as build_dependency in several other packages in this repo, but only this library here is really meant to be used by other controllers.
ad7739f
into
ros-controls:master
…library (backport #1465) (#1468) Co-authored-by: Silvio Traversaro <[email protected]>
Sorry for the late feedback. Good catch, I did not noticed those. Indeed, if you never call |
Technically the
generate_parameter_library
is a build dependency, but it generate an header and a target that are part of the public interface of the library, and that depend on a series of CMake targets (fmt::fmt
,rsl::rsl
and more, see https://github.com/PickNikRobotics/generate_parameter_library/blob/0346fde52ba515593bd51b96bc520fa872af5b2a/generate_parameter_library/cmake/generate_parameter_library.cmake#L85) that are not listed as dependency of thesteering_controllers_library
package. The easiest solution to ensure that all the transitive dependencies of the code generated bygenerate_parameter_library
are available is to simply addgenerate_parameter_library
as a regular dependency, that is also the solution suggested bygenerate_parameter_library
documentation.Checklist:
colcon test
andpre-commit run
(requires you to install pre-commit bypip3 install pre-commit
)