-
Notifications
You must be signed in to change notification settings - Fork 312
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
[Controller Interface] Make assign and release interfaces virtual #1743
[Controller Interface] Make assign and release interfaces virtual #1743
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1743 +/- ##
=======================================
Coverage 86.77% 86.77%
=======================================
Files 116 116
Lines 10703 10703
Branches 981 981
=======================================
Hits 9288 9288
Misses 1062 1062
Partials 353 353
Flags with carried forward coverage won't be shown. Click here to find out more.
|
We need to add @mamueluth to the Reviewers group for the Reviewer Lottery job to succeed! |
Thanks @saikishor , fixed! |
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.
Please highlight this and the intended use-case in the docs migration notes
@bmagyar Done!. Thank you! |
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.
thank you!
Hello!
I wanted to open this PR to see if making
assign_interfaces
andrelease_interfaces
is fine or not. This would be helpful if the user wants to deal with a different type instead of having them inside the vectors as it is by defaultros2_control/controller_interface/include/controller_interface/controller_interface_base.hpp
Lines 257 to 259 in ce58fae
ros2_control/controller_interface/src/controller_interface_base.cpp
Lines 95 to 107 in ce58fae
By making them virtual, we can let the user able to define the internal structure and then clean them when the release interface is called