Skip to content

Commit 4bf12a4

Browse files
committed
fix(multi_object_tracker): calculation of detection delay diagnostics
Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
1 parent 6f956eb commit 4bf12a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perception/multi_object_tracker/src/debugger.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void TrackerDebugger::checkDelay(diagnostic_updater::DiagnosticStatusWrapper & s
8080
stat.summary(diagnostic_msgs::msg::DiagnosticStatus::ERROR, "Measurement time is not set.");
8181
return;
8282
}
83-
const double & delay = pipeline_latency_ms_; // [s]
83+
const double & delay = pipeline_latency_ms_ / 1e3; // [s]
8484

8585
if (delay == 0.0) {
8686
stat.summary(diagnostic_msgs::msg::DiagnosticStatus::OK, "Detection delay is not calculated.");

0 commit comments

Comments
 (0)