Skip to content

Commit

Permalink
chore(motion_velocity_smoother): remove unnecessary info of non auton…
Browse files Browse the repository at this point in the history
…omous control (#5891)

Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored Dec 18, 2023
1 parent 2175b57 commit 0b58725
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,8 @@ MotionVelocitySmootherNode::calcInitialMotion(
// use ego velocity/acceleration in the planning for smooth transition from MANUAL to AUTONOMOUS.
if (node_param_.plan_from_ego_speed_on_manual_mode) { // could be false for debug purpose
const bool is_in_autonomous_control = operation_mode_.is_autoware_control_enabled &&
operation_mode_.mode == OperationModeState::AUTONOMOUS;
(operation_mode_.mode == OperationModeState::AUTONOMOUS ||
operation_mode_.mode == OperationModeState::STOP);
if (!is_in_autonomous_control) {
RCLCPP_INFO_THROTTLE(
get_logger(), *clock_, 10000, "Not in autonomous control. Plan from ego velocity.");
Expand Down

0 comments on commit 0b58725

Please sign in to comment.