Skip to content

Commit

Permalink
color_detection.pyのsubscriptionのcallback関数名修正
Browse files Browse the repository at this point in the history
  • Loading branch information
mizonon committed Oct 25, 2024
1 parent b895f0b commit 8eaf1e8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ class ImageSubscriber(Node):
def __init__(self):
super().__init__("color_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.image_thresholded_publisher = self.create_publisher(Image, 'image_thresholded', 10)
self.tf_broadcaster = tf2_ros.TransformBroadcaster()
Expand Down

0 comments on commit 8eaf1e8

Please sign in to comment.