Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lane_change): separate backward buffer for blocking object #5434

Conversation

rej55
Copy link
Contributor

@rej55 rej55 commented Oct 27, 2023

Description

Separate backward buffer parameter for blocking object
Merge this PR first autowarefoundation/autoware_launch#661

Related links

Tests performed

TIER IV INTERNAL TEST

Notes for reviewers

Interface changes

backward_length_buffer_for_blocking_object is added.

Effects on system behavior

Able to change backward length buffer for blocking object.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Comment on lines 271 to 273
const auto stopping_distance_for_obj =
distance_to_ego_lane_obj - lane_change_buffer_for_blocking_object - stop_point_buffer -
rss_dist - getCommonParam().base_link2front;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const double stop_point_buffer = getCommonParam().backward_length_buffer_for_end_of_lane;
is as intended?

@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 27, 2023
rej55 and others added 2 commits October 28, 2023 02:49
@rej55 rej55 enabled auto-merge (squash) October 29, 2023 16:07
@rej55 rej55 disabled auto-merge October 29, 2023 16:07
@rej55 rej55 enabled auto-merge (squash) October 29, 2023 16:08
@codecov
Copy link

codecov bot commented Oct 29, 2023

Codecov Report

Attention: 27 lines in your changes are missing coverage. Please review.

Comparison is base (25e8b3f) 15.07% compared to head (af90b95) 15.06%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5434      +/-   ##
==========================================
- Coverage   15.07%   15.06%   -0.01%     
==========================================
  Files        1662     1662              
  Lines      115724   115737      +13     
  Branches    35753    35761       +8     
==========================================
  Hits        17441    17441              
- Misses      78749    78760      +11     
- Partials    19534    19536       +2     
Flag Coverage Δ *Carryforward flag
differential 14.36% <0.00%> (?)
total 15.07% <ø> (+<0.01%) ⬆️ Carriedforward from 25e8b3f

*This pull request uses carry forward flags. Click here to find out more.

Files Coverage Δ
...anner/include/behavior_path_planner/parameters.hpp 57.14% <ø> (ø)
...nner/include/behavior_path_planner/utils/utils.hpp 45.45% <ø> (ø)
planning/behavior_path_planner/src/utils/utils.cpp 17.07% <0.00%> (+0.01%) ⬆️
...or_path_planner/src/behavior_path_planner_node.cpp 27.30% <0.00%> (-0.11%) ⬇️
...planner/src/scene_module/lane_change/interface.cpp 6.43% <0.00%> (-0.03%) ⬇️
...avior_path_planner/src/utils/lane_change/utils.cpp 0.43% <0.00%> (-0.01%) ⬇️
...th_planner/src/scene_module/lane_change/normal.cpp 3.77% <0.00%> (-0.05%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rej55 rej55 merged commit 02b2be9 into autowarefoundation:main Oct 29, 2023
@rej55 rej55 deleted the fix/separate_backward_buffer_for_blocking_object branch October 29, 2023 17:39
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Nov 1, 2023
…arefoundation#5434)

* fix(lane_change): separate backward buffer for blocking object

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>

* Update planning/behavior_path_planner/src/scene_module/lane_change/normal.cpp

Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>

* style(pre-commit): autofix

---------

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants