Fix destroy node

This commit is contained in:
2022-11-01 20:19:15 +02:00
parent 57203cee63
commit 4824653d55

View File

@@ -104,7 +104,7 @@ def main(args=None):
# Destroy the node explicitly # Destroy the node explicitly
# (optional - otherwise it will be done automatically # (optional - otherwise it will be done automatically
# when the garbage collector destroys the node object) # when the garbage collector destroys the node object)
minimal_publisher.destroy_node() publisher.destroy_node()
rclpy.shutdown() rclpy.shutdown()