From d082649d1bff27c829a7332617dc00b89bb4b17e Mon Sep 17 00:00:00 2001 From: Miguelmelon Date: Sat, 29 Jun 2024 18:04:03 +0200 Subject: [PATCH] Somethings wrong --- people_tracking_v2/scripts/decision_node.py | 2 +- people_tracking_v2/scripts/yolo_seg.py | 5 ++--- .../src/people_tracking/launchers/ppl_tracking_v2.launch | 2 +- people_tracking_v2/testing/depth_publisher.py | 9 ++++----- people_tracking_v2/testing/launchers/test_videos.launch | 4 ++-- people_tracking_v2/testing/rgb_publisher.py | 4 ++-- 6 files changed, 12 insertions(+), 14 deletions(-) diff --git a/people_tracking_v2/scripts/decision_node.py b/people_tracking_v2/scripts/decision_node.py index b629af9..cf209aa 100755 --- a/people_tracking_v2/scripts/decision_node.py +++ b/people_tracking_v2/scripts/decision_node.py @@ -33,7 +33,7 @@ def __init__(self): # Publisher for decision results and marked images self.decision_pub = rospy.Publisher('/decision/result', DecisionResult, queue_size=10) - self.marked_image_pub = rospy.Publisher('/marked_image', Image, queue_size=10) + #self.marked_image_pub = rospy.Publisher('/marked_image', Image, queue_size=10) # Initialize variables for saving data self.save_data = save_data diff --git a/people_tracking_v2/scripts/yolo_seg.py b/people_tracking_v2/scripts/yolo_seg.py index b65049f..42edb88 100755 --- a/people_tracking_v2/scripts/yolo_seg.py +++ b/people_tracking_v2/scripts/yolo_seg.py @@ -11,7 +11,6 @@ import sys import os import rospkg -import time from datetime import datetime # Add the path to the `kalman_filter.py` module @@ -20,8 +19,8 @@ laptop = sys.argv[1] name_subscriber_RGB = 'Webcam/image_raw' if laptop == "True" else '/hero/head_rgbd_sensor/rgb/image_raw' -depth_camera = False if sys.argv[2] == "False" else True -save_data = False if sys.argv[3] == "False" else True +depth_camera = False #if sys.argv[2] == "False" else True +save_data = False #if sys.argv[3] == "False" else True class YoloSegNode: def __init__(self): diff --git a/people_tracking_v2/src/people_tracking/launchers/ppl_tracking_v2.launch b/people_tracking_v2/src/people_tracking/launchers/ppl_tracking_v2.launch index 1e23210..71c4b1e 100644 --- a/people_tracking_v2/src/people_tracking/launchers/ppl_tracking_v2.launch +++ b/people_tracking_v2/src/people_tracking/launchers/ppl_tracking_v2.launch @@ -1,7 +1,7 @@ - + - - + +