-
Notifications
You must be signed in to change notification settings - Fork 304
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
Rename get_state
and set_state
Functions to get/set_lifecylce_state
(variant support)
#1683
Rename get_state
and set_state
Functions to get/set_lifecylce_state
(variant support)
#1683
Conversation
have unified interface for setting getting lifecylce state
get_state
and set_state Functions to get/set_lifecylce_state
get_state
and set_state Functions to get/set_lifecylce_stateget_state
and set_state
Functions to get/set_lifecylce_state
get_state
and set_state
Functions to get/set_lifecylce_state
get_state
and set_state
Functions to get/set_lifecylce_state
(variant support)
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.
The changes look good to me.
Should we add deprecation notice to the older methods before removing them?. I've added suggestions here for that. We can discuss on that
controller_interface/include/controller_interface/controller_interface_base.hpp
Show resolved
Hide resolved
@mamueluth could you please also update the release_notes as well |
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.
Great!
I vote to go without deprecation as it is mostly internal interface and this can not be deprecated for a long time.
Definitely we need an addition to migration notes.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1683 +/- ##
==========================================
+ Coverage 86.73% 86.79% +0.06%
==========================================
Files 116 116
Lines 10618 10682 +64
Branches 978 976 -2
==========================================
+ Hits 9209 9271 +62
- Misses 1058 1060 +2
Partials 351 351
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Hi @saikishor release notes are updated:) |
Sorry for asking for more changes. I think it's better that the respective one goes under the package controllet_interface and hardware_interface packages |
This pull request is in conflict. Could you fix it @mamueluth? |
This pull request is in conflict. Could you fix it @mamueluth? |
This pull request is in conflict. Could you fix it @mamueluth? |
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
This PR is part of #1240 but not originally included in it.
The purpose of this pr is to rename the
get_state
andset_state
functions related to lifecycle management toget_lifecylce_state
andset_lifecylce_state
. I think this is necessary because PR #1240 is going to introduceget_state
andset_state
functions for getting/setting the values in a handle from hardware site. With this PR there should be no confusion between getting/setting lifecycle related state and actual values of hardware.Needs to be merged as well: ros-controls/ros2_controllers#1250