File tree 1 file changed +3
-3
lines changed
control/pid_longitudinal_controller/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ void PidLongitudinalController::updateControlState(const ControlData & control_d
555
555
return ;
556
556
};
557
557
558
- const auto info_once = [this ](const auto & s) { RCLCPP_INFO_ONCE (logger_, " %s" , s); };
558
+ const auto debug_msg_once = [this ](const auto & s) { RCLCPP_DEBUG_ONCE (logger_, " %s" , s); };
559
559
560
560
const bool is_under_control = m_current_operation_mode.is_autoware_control_enabled &&
561
561
m_current_operation_mode.mode == OperationModeState::AUTONOMOUS;
@@ -621,10 +621,10 @@ void PidLongitudinalController::updateControlState(const ControlData & control_d
621
621
if (m_control_state == ControlState::STOPPED) {
622
622
// -- debug print --
623
623
if (has_nonzero_target_vel && !departure_condition_from_stopped) {
624
- info_once (" target speed > 0, but departure condition is not met. Keep STOPPED." );
624
+ debug_msg_once (" target speed > 0, but departure condition is not met. Keep STOPPED." );
625
625
}
626
626
if (has_nonzero_target_vel && keep_stopped_condition) {
627
- info_once (" target speed > 0, but keep stop condition is met. Keep STOPPED." );
627
+ debug_msg_once (" target speed > 0, but keep stop condition is met. Keep STOPPED." );
628
628
}
629
629
// ---------------
630
630
You can’t perform that action at this time.
0 commit comments