Skip to content

Commit

Permalink
depth camera udpate
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Haagh <[email protected]>
  • Loading branch information
KenH2 committed Dec 14, 2023
1 parent 65557d8 commit 4a6bcc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions people_tracking/src/people_tracking/depth_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def image_callback(self, data, time_data_stored_sec: int = 60):
rospy.logwarn("Received NoneType data in image_callback.")
return

while self.depth_images and (float(rospy.get_time()) - self.depth_images[0][0]) > time_data_stored_sec:
self.depth_images.pop(0)
# while self.depth_images and (float(rospy.get_time()) - self.depth_images[0][0]) > time_data_stored_sec:
# self.depth_images.pop(0)

# Store the current image
bridge = CvBridge()
Expand Down

0 comments on commit 4a6bcc1

Please sign in to comment.