Skip to content

Commit

Permalink
fix(status_display_manager): change clock from 1ms to 5000ms (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
BaronYSYong authored Nov 29, 2024
1 parent a20d96a commit e55cf2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/status_display_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void StatusDisplayManager::callbackStateMessage(

RCLCPP_INFO_THROTTLE(
this->get_logger(),
*this->get_clock(), 1.0,
*this->get_clock(), 5000.0,
"[StatusDisplayManager::callbackStateMessage]"
"service_layer_state: %u, control_layer_state: %u",
msg->service_layer_state,
Expand All @@ -115,7 +115,7 @@ void StatusDisplayManager::callbackDiagStateMessage(
if (status.name == "/autoware/vehicle/obstacle_crash") {
RCLCPP_INFO_THROTTLE(
this->get_logger(),
*this->get_clock(), 1.0,
*this->get_clock(), 5000.0,
"[StatusDisplayManager::callbackDiagStateMessage]"
"name: %s, level: %u",
status.name.c_str(),
Expand All @@ -142,7 +142,7 @@ void StatusDisplayManager::callbackVehicleTurnMessage(
std::unique_lock<std::mutex> lock(indicators_mutex_);
RCLCPP_INFO_THROTTLE(
this->get_logger(),
*this->get_clock(), 1.0,
*this->get_clock(), 5000.0,
"[StatusDisplayManager::callbackVehicleTurnMessage]"
"vehicle_turn_status: %u",
msg.report);
Expand Down

0 comments on commit e55cf2d

Please sign in to comment.