Skip to content

Commit

Permalink
fix(multi_object_tracker): calculation of detection delay diagnostics (
Browse files Browse the repository at this point in the history
…autowarefoundation#1317)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
  • Loading branch information
TomohitoAndo authored and saka1-s committed Jul 10, 2024
1 parent e7b2795 commit dc5612b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perception/multi_object_tracker/src/debugger/debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void TrackerDebugger::checkDelay(diagnostic_updater::DiagnosticStatusWrapper & s
stat.summary(diagnostic_msgs::msg::DiagnosticStatus::ERROR, "Measurement time is not set.");
return;
}
const double & delay = pipeline_latency_ms_; // [s]
const double & delay = pipeline_latency_ms_ / 1e3; // [s]

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

0 comments on commit dc5612b

Please sign in to comment.