Browse Source

Erased the 'data' in the callback function, we weren't using it

humble
Jesus Eduardo Rodriguez 1 year ago
committed by GitHub
parent
commit
04bc40b99a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      stretch_ros_tutorials/capture_image.py

+ 1
- 1
stretch_ros_tutorials/capture_image.py View File

@ -24,7 +24,7 @@ class CaptureImage(Node):
self.save_path = '/home/hello-robot/ament_ws/src/stretch_tutorials/stored_data' self.save_path = '/home/hello-robot/ament_ws/src/stretch_tutorials/stored_data'
self.br = CvBridge() 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 A callback function that converts the ROS image to a CV2 image and stores the
image. image.

Loading…
Cancel
Save