Skip to content

Commit ab61816

Browse files
authored
Merge branch 'beta/x2_gen2/v0.29.2' into feat/obst-point-validator/set-validate-range/x2_gen2/v0.29.2
2 parents 994d075 + 726c04e commit ab61816

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

perception/multi_object_tracker/src/multi_object_tracker_core.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ void MultiObjectTracker::onTrigger()
212212
const bool is_objects_ready = input_manager_->getObjects(current_time, objects_list);
213213
if (!is_objects_ready) return;
214214
onMessage(objects_list);
215+
// Publish without delay compensation
216+
if (!publish_timer_) {
217+
const auto latest_object_time = rclcpp::Time(objects_list.back().second.header.stamp);
218+
checkAndPublish(latest_object_time);
219+
}
215220
}
216221

217222
void MultiObjectTracker::onTimer()

0 commit comments

Comments
 (0)