-
Notifications
You must be signed in to change notification settings - Fork 408
Remove lifecycle node controllers #124
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
Remove lifecycle node controllers #124
Conversation
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.
All good!
|
||
#include "hardware_interface/types/hardware_interface_return_values.hpp" | ||
#include "hardware_interface/types/hardware_interface_type_values.hpp" | ||
#include "lifecycle_msgs/msg/state.hpp" |
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.
Also remove this line please.
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.
Done
Ok I've touched things up a bit, added back the node nullptr check to facilitate one of the existing tests and modified another test to not try the ill-posed |
Summary of changes:
LifecyclePublisher
s with regularPublisher
s, unfortunately now controllers could publish while deactivated.get_lifecycle_node
The
LifecyclePublisher
above made me notice that there are no LifecycleSubscribers or LifecycleServices. Is it because they have yet to be implemented, or because aLifecycleNode
stops serving callbacks if it's not active? I could not find mention to this.