This makes the lifecyle demo automatically exit when it's completed. First this PR fixes a bug in lifecycle_service_client where it's stuck waiting for the future to complete forever because of ros2/rclcpp#1916. Next this PR adds a Shutdown action to the on_exit argument of the lifecycle_service_clientNode so that when it shuts down the other nodes are killed too.
Fixes #504
This makes the lifecyle demo automatically exit when it's completed. First this PR fixes a bug in
lifecycle_service_client
where it's stuck waiting for the future to complete forever because of ros2/rclcpp#1916. Next this PR adds aShutdown
action to theon_exit
argument of thelifecycle_service_client
Node
so that when it shuts down the other nodes are killed too.