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

Cleanups in demo_nodes_py. #555

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Conversation

clalancette
Copy link
Contributor

@clalancette clalancette commented Jan 24, 2022

The following fixes are made:

  • Ensure that the node is destroyed before calling rclpy.shutdown()
  • Make sure that shutdown always uses rclpy.try_shutdown()
  • Make sure to catch KeyboardInterrupt errors everywhere

Signed-off-by: Chris Lalancette clalancette@openrobotics.org

Fixes #553

The following fixes are made:

* Ensure that the node is destroyed before calling rclpy.shutdown()
* Make sure that shutdown always uses rclpy.try_shutdown()
* Make sure to catch KeyboardInterrupt errors everywhere

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
@clalancette
Copy link
Contributor Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

Copy link
Member

@audrow audrow left a 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 clalancette merged commit fb3ad7e into master Jan 24, 2022
@clalancette clalancette deleted the clalancette/demo_nodes_py-cleanup branch January 24, 2022 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants