From 6c4ce991d50f18ebcb909a7295bae918d21d9e16 Mon Sep 17 00:00:00 2001 From: Michal Staniaszek Date: Thu, 7 Dec 2023 09:56:16 +0000 Subject: [PATCH] fix duplicated publish_depth_images_callback function --- spot_driver/src/spot_driver/spot_ros.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spot_driver/src/spot_driver/spot_ros.py b/spot_driver/src/spot_driver/spot_ros.py index 138c4110..32175dd2 100644 --- a/spot_driver/src/spot_driver/spot_ros.py +++ b/spot_driver/src/spot_driver/spot_ros.py @@ -323,7 +323,7 @@ def publish_depth_in_visual_images_callback(self): self.right_depth_in_visual_info_pub.publish(right_camera_info) self.back_depth_in_visual_info_pub.publish(back_camera_info) - def publish_depth_images_callback(self): + def publish_depth_standard_images_callback(self): image_bundle = self.spot_wrapper.spot_images.get_depth_images() ( frontleft_image_msg, @@ -405,7 +405,7 @@ def publish_depth_images_callback(self): if self.depth_in_visual: self.publish_depth_in_visual_images_callback() else: - self.publish_depth_images_callback() + self.publish_depth_standard_images_callback() def HandImageCB(self, results): """Callback for when the Spot Wrapper gets new hand image data.