diff --git a/crane_plus_examples_py/crane_plus_examples_py/aruco_detection.py b/crane_plus_examples_py/crane_plus_examples_py/aruco_detection.py index c3acd62..a7fac85 100644 --- a/crane_plus_examples_py/crane_plus_examples_py/aruco_detection.py +++ b/crane_plus_examples_py/crane_plus_examples_py/aruco_detection.py @@ -33,10 +33,10 @@ class ImageSubscriber(Node): def __init__(self): super().__init__("aruco_detection") self.image_subscription = self.create_subscription( - Image, "image_raw", self.listener_callback, 10 + Image, "image_raw", self.image_callback, 10 ) self.camera_info_subscription = self.create_subscription( - CameraInfo, "camera_info", self.listener_callback, 10 + CameraInfo, "camera_info", self.camera_info_callback, 10 ) self.tf_broadcaster = tf2_ros.TransformBroadcaster()