Skip to content

Commit dfc9018

Browse files
committed
Fix compile issue
1 parent 2c47376 commit dfc9018

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

perception/multi_object_tracker/src/processor/processor.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ void TrackerProcessor::update(
6262
for (auto tracker_itr = list_tracker_.begin(); tracker_itr != list_tracker_.end();
6363
++tracker_itr, ++tracker_idx) {
6464
if (direct_assignment.find(tracker_idx) != direct_assignment.end()) { // found
65-
(*(tracker_itr))
66-
->updateWithMeasurement(associated_object, time, self_transform, channel_index);
6765
const auto & associated_object =
6866
detected_objects.objects.at(direct_assignment.find(tracker_idx)->second);
67+
(*(tracker_itr))
68+
->updateWithMeasurement(associated_object, time, self_transform, channel_index);
69+
6970
/*
7071
char buf[120];
7172
snprintf(buf, sizeof(buf), "track meas update idx[%d], x[%.3f], y[%.3f], cls[%d]\n",

0 commit comments

Comments
 (0)