Skip to content

Commit 65e1d20

Browse files
fix(multi_object_tracker): calculation of detection delay diagnostics… (#1406)
fix(multi_object_tracker): calculation of detection delay diagnostics (#1317) Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp> Co-authored-by: Tomohito ANDO <tomohito.ando@tier4.jp>
1 parent e7b2795 commit 65e1d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perception/multi_object_tracker/src/debugger/debugger.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ void TrackerDebugger::checkDelay(diagnostic_updater::DiagnosticStatusWrapper & s
9898
stat.summary(diagnostic_msgs::msg::DiagnosticStatus::ERROR, "Measurement time is not set.");
9999
return;
100100
}
101-
const double & delay = pipeline_latency_ms_; // [s]
101+
const double & delay = pipeline_latency_ms_ / 1e3; // [s]
102102

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

0 commit comments

Comments
 (0)