Skip to content

Commit

Permalink
fix time buffer
Browse files Browse the repository at this point in the history
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
  • Loading branch information
maxime-clem committed Feb 17, 2025
1 parent 5071753 commit 4cb33f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cb33f1

Please sign in to comment.