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 Nov 29, 2024
1 parent 3d42cd0 commit 4e1c5ce
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 @@ -265,6 +265,9 @@ void HesaiHwMonitorWrapper::hesai_check_ptp(
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 4e1c5ce

Please sign in to comment.