Skip to content
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

delete TRANSITION_SHUTDOWN #576

Merged
merged 1 commit into from
Nov 1, 2018
Merged

delete TRANSITION_SHUTDOWN #576

merged 1 commit into from
Nov 1, 2018

Conversation

Karsten1987
Copy link
Contributor

fixes ros2/rcl#309

There's one extra remark on this one:

I added a little check when invoking a transition service call. It checks that when an id as well as label for the transition is given, it fetches the transition given the label and not the id.
This enables service calls like

ros2 service call <node>/change_state lifecycle_msgs/ChangeState "{transition: {label: shutdown}}"

I can't sanity check the ids after I fetching the transition by label because ros2 service call ... defaults all values, in that case the id to zero.

@Karsten1987 Karsten1987 added the in review Waiting for review (Kanban column) label Oct 30, 2018
@Karsten1987 Karsten1987 self-assigned this Oct 30, 2018
@Karsten1987 Karsten1987 merged commit ec834d3 into master Nov 1, 2018
@Karsten1987 Karsten1987 deleted the lifecycle_cleanup branch November 1, 2018 02:20
@Karsten1987 Karsten1987 removed the in review Waiting for review (Kanban column) label Nov 1, 2018
cho3 pushed a commit to cho3/rclcpp that referenced this pull request Jun 3, 2019
nnmm pushed a commit to ApexAI/rclcpp that referenced this pull request Jul 9, 2022
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
DensoADAS pushed a commit to DensoADAS/rclcpp that referenced this pull request Aug 5, 2022
…os2#576)

* Use a single executor in the wait_for utility to put less strain on the global context shutdown
* Don't copy around message pointers vectors, rather observe by const reference

Signed-off-by: Emerson Knapp <eknapp@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove lifecycle_service_client_py.py; it is deprecated and no longer works correctly
2 participants