From 04bc40b99a75fd2c1460344595258d06faf14ff8 Mon Sep 17 00:00:00 2001 From: Jesus Eduardo Rodriguez <141784078+hello-jesus@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:09:32 -0700 Subject: [PATCH] Erased the 'data' in the callback function, we weren't using it --- stretch_ros_tutorials/capture_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stretch_ros_tutorials/capture_image.py b/stretch_ros_tutorials/capture_image.py index 980a909..82d558d 100644 --- a/stretch_ros_tutorials/capture_image.py +++ b/stretch_ros_tutorials/capture_image.py @@ -24,7 +24,7 @@ class CaptureImage(Node): self.save_path = '/home/hello-robot/ament_ws/src/stretch_tutorials/stored_data' self.br = CvBridge() - def image_callback(self, msg, data): + def image_callback(self, msg): """ A callback function that converts the ROS image to a CV2 image and stores the image.