-
Notifications
You must be signed in to change notification settings - Fork 166
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
make rcl_lifecycle_com_interface optional in lifecycle nodes #882
Conversation
@fujitatomoya I've opted for introducing two more sets of As discussed in the rclcpp ticket, that allows us to explicitly initialize the transition event publisher without initializing the services. Let me know what you think. |
it looks okay. i am okay to go with this approach. but I'd like to get back to discussion if |
My/Our use case here is actually pretty straight forward. We'd like to disable external access to state changes. That is, we'd like to block all incoming communication which modifies the state machine. That however does not prevent any outgoing traffic, such as a publication on the transition event topics. In fact, I believe it should stay active in order to let other nodes in the network know about the triggered transitions. Now, granted, with this definition we could also split the services further, where each individual service could be activated or not. That is, we only disable the |
@fujitatomoya Since you had some initial comments, I assigned this one to you to take a look at. If you don't have time for this, please feel free to unassign yourself. |
overall, i am good to go with this. there are three |
5ebf076
to
fd84146
Compare
@fujitatomoya I think I've addressed the unused warnings. I tried to mention it in the line comments, however I do believe we don't have to log twice and can ignore the return value of the I did however have to add another flag to the I'll link CI to the overall issue ticket once more: ros2/rclcpp#1506 (comment) |
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.
looks good to me.
@clalancette just in case, could you also take a look when you got time? |
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
fd84146
to
42a1ca0
Compare
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
Signed-off-by: Knese Karsten <karsten@openrobotics.org>
This is good for another review. CI can be found on the top level issue: ros2/rclcpp#1506 (comment) |
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.
One nit inline, but otherwise looks pretty good to me.
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.
lgtm
Co-authored-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Karsten Knese <Karsten1987@users.noreply.github.com>
CI is green (ros2/rclcpp#1506 (comment)), merging. |
connects to ros2/rclcpp#1506