Skip to content

Commit

Permalink
value update
Browse files Browse the repository at this point in the history
Signed-off-by: Ken Haagh <[email protected]>
  • Loading branch information
KenH2 committed Dec 20, 2023
1 parent e9c22e1 commit 89e308b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion people_tracking/src/people_tracking/people_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def loop(self):
validity = self.approved_targets[-val_idx].valid_measurement
val_idx += 1

if current_time - self.approved_targets[-val_idx].time > 2:
if current_time - self.approved_targets[-val_idx].time > 3:
rospy.loginfo("Target Lost")
self.target_lost = True
else:
Expand Down
4 changes: 2 additions & 2 deletions people_tracking/src/people_tracking/person_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def process_latest_image(self):
# Import RGB Image
cv_image = self.bridge.imgmsg_to_cv2(latest_image, desired_encoding='passthrough')
cv_image = cv2.GaussianBlur(cv_image, (5, 5), 0)
if not laptop:
cv_image = cv2.cvtColor(cv_image, cv2.COLOR_RGB2BGR)
# if not laptop:
# cv_image = cv2.cvtColor(cv_image, cv2.COLOR_RGB2BGR)

# Save Image
if save_data:
Expand Down

0 comments on commit 89e308b

Please sign in to comment.