Skip to content

Commit

Permalink
value change depth_camera
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 8e9b1b3 commit fd0e6bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion people_tracking/src/people_tracking/depth_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self) -> None:
self.depth_images = []
self.depth_service = rospy.Service(TOPIC_PREFIX + NODE_NAME + '/depth_data', Depth, self.get_depth_data)

def image_callback(self, data, time_data_stored_sec: int = 10):
def image_callback(self, data, time_data_stored_sec: int = 60):
"""Store recent depth data for given amount of time."""
if data is None:
rospy.logwarn("Received NoneType data in image_callback.")
Expand Down
2 changes: 1 addition & 1 deletion people_tracking/test/people_tracking.launch
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
On HERO run the following command: (Sets correct camera source and turns on depth data)
$ roslaunch people_tracking people_tracking.launch laptop:=False depth_camera:=True save_data:= False
$ roslaunch people_tracking people_tracking.launch laptop:=False depth_camera:=True save_data:=False
-->
<launch>
<arg name="laptop" default="True" />
Expand Down

0 comments on commit fd0e6bc

Please sign in to comment.