Skip to content

Commit

Permalink
fix duplicated publish_depth_images_callback function
Browse files Browse the repository at this point in the history
  • Loading branch information
heuristicus committed Dec 7, 2023
1 parent 2a1d26d commit 6c4ce99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spot_driver/src/spot_driver/spot_ros.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6c4ce99

Please sign in to comment.