ros2 / demos

Apache License 2.0
491 stars 329 forks source link

Change all of the demos to use the new rclpy context manager. #694

Closed clalancette closed 1 month ago

clalancette commented 1 month ago

This will cleans things up at a much more predictable time. While we are in here, we make the handling of KeyboardInterrupt and ExternalShutdownException more consistent across all of the demos.

This is part of https://github.com/ros2/rclpy/issues/1280

clalancette commented 1 month ago

CI: