Skip to content

feat(boundary_departure): slow down computation (#11085)#2275

Merged
TaikiYamada4 merged 2 commits intobeta/v0.48from
backport-bdp-slow-down
Aug 6, 2025
Merged

feat(boundary_departure): slow down computation (#11085)#2275
TaikiYamada4 merged 2 commits intobeta/v0.48from
backport-bdp-slow-down

Conversation

@zulfaqar-azmi-t4
Copy link

BDP inserts slow down distance when ego approaches or leaving lane through road border.

Departure interval is first generated to find the distance to slow down point, and the lateral distance to boundary.

lon_dist_to_bound_m lat_dist_to_bound_m

Then slow down point is computed
What the slow down feature do

  1. Dynamic comfort to hard slow down

    When the longitudinal gap is sufficient, the planner slows with the comfort limits (th_jerk_mps3.min, th_acc_mps2.min) for a smoother ride.

    As the gap shrinks, it automatically escalates to the hard limits (.max) so that the target conditions are still met.

cap-.2025-07-30-17-01-55.mp4

  • feat(boundary_departure): slow down computation

  • fixed some logic

  • refactor function get_interp_to_point()

  • Update planning/motion_velocity_planner/autoware_motion_velocity_boundary_departure_prevention_module/src/slow_down_interpolator.cpp

  • fix pre-commit diff error

  • use function


…1085)

* feat(boundary_departure): slow down computation

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fixed some logic

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* refactor function get_interp_to_point()

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>

* Update planning/motion_velocity_planner/autoware_motion_velocity_boundary_departure_prevention_module/src/slow_down_interpolator.cpp

* fix pre-commit diff error

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* use function

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
Co-authored-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
Co-authored-by: mkquda <168697710+mkquda@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Aug 5, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@TaikiYamada4 TaikiYamada4 merged commit 1f36e54 into beta/v0.48 Aug 6, 2025
38 of 40 checks passed
@TaikiYamada4 TaikiYamada4 deleted the backport-bdp-slow-down branch August 6, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants