Skip to content

Commit

Permalink
Add ToDo in callback_HoC
Browse files Browse the repository at this point in the history
KenH2 committed Nov 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent b326cba commit a1b54ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion people_tracking/src/people_tracker.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import cv2
import math
from cv_bridge import CvBridge

import copy
from UKFclass import *

# MSGS
@@ -89,6 +89,10 @@ def callback_HoC(self, data):
z = [entry[3], entry[4], 0]
self.ukf_confirmed.update(entry[2], z)
self.tracked_data = self.tracked_data[idx:][:]
else: #if gone potentially to wrong path
self.ukf_prediction = copy.deepcopy(self.ukf_confirmed)
# TODO add new way to go (redo data association from known point)
# self.tracked_data = [[batch_nr, idx_person, time, x_position, y_position, z_position]]


def callback_persons(self, data):

0 comments on commit a1b54ae

Please sign in to comment.