From 4cb33f1b111cd79b7e8b89bbac1ecccb6c4b9541 Mon Sep 17 00:00:00 2001 From: Maxime CLEMENT Date: Mon, 17 Feb 2025 17:23:54 +0900 Subject: [PATCH] fix time buffer Signed-off-by: Maxime CLEMENT --- .../src/out_of_lane_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/motion_velocity_planner/autoware_motion_velocity_out_of_lane_module/src/out_of_lane_module.cpp b/planning/motion_velocity_planner/autoware_motion_velocity_out_of_lane_module/src/out_of_lane_module.cpp index c215eacfa5c7e..0415b9cd71062 100644 --- a/planning/motion_velocity_planner/autoware_motion_velocity_out_of_lane_module/src/out_of_lane_module.cpp +++ b/planning/motion_velocity_planner/autoware_motion_velocity_out_of_lane_module/src/out_of_lane_module.cpp @@ -294,7 +294,7 @@ VelocityPlanningResult OutOfLaneModule::plan( ego_data.trajectory_points, 0LU, previous_slowdown_pose_->position); return prev_arc_length < arc_length; } - return slowdown_pose && previous_slowdown_pose_; + return !slowdown_pose && previous_slowdown_pose_; }(); if (should_use_previous_pose) { // if the trajectory changed the prev point is no longer on the trajectory so we project it