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
#1406)

fix(multi_object_tracker): calculation of detection delay diagnostics (#1317)

Signed-off-by: Tomohito Ando <[email protected]>
Co-authored-by: Tomohito ANDO <[email protected]>
  • Loading branch information
saka1-s and TomohitoAndo authored Jul 10, 2024
1 parent e7b2795 commit 65e1d20
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 65e1d20

Please sign in to comment.