Skip to content

Commit

Permalink
chore(hesai): make tracking a WARNing instead of an ERROR (#242)
Browse files Browse the repository at this point in the history
Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex authored and kotaro-hihara committed Dec 4, 2024
1 parent 09ba2d4 commit 31a5dd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nebula_ros/src/hesai/hw_monitor_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,9 @@ void HesaiHwMonitorWrapper::HesaiCheckPtp(diagnostic_updater::DiagnosticStatusWr
if (str == "locked") {
level = diagnostic_msgs::msg::DiagnosticStatus::OK;
msg = "synchronized";
} else if (str == "tracking") {
level = diagnostic_msgs::msg::DiagnosticStatus::WARN;
msg = "synchronized, degraded";
}
}

Expand Down

0 comments on commit 31a5dd0

Please sign in to comment.