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

feat(start_planner): keep distance against front objects #5983

Conversation

kyoichi-sugahara
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara commented Dec 27, 2023

Description

This PR's change is based on following 2 PRs

  1. feat(start_planner): separate collision check and path planning #5952
  2. feat(start_planner): apply offset colission check section #5982

And following PR should be merged first, because parameter should be newly defined
launcher change PR

eliminate start pose candidate if distance between start pose candidate and front static object is less than collision_check_margin_from_front_object

distance from front static object in the following image should be larger than collision_check_margin_from_front_object
image

Tests performed

Effects on system behavior

Not applicable.

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.

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.

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

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Dec 27, 2023
@kyoichi-sugahara kyoichi-sugahara added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 10, 2024
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

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

Comparison is base (2a6c16b) 15.22% compared to head (130d0d9) 15.31%.
Report is 12 commits behind head on main.

Files Patch % Lines
..._start_planner_module/src/start_planner_module.cpp 0.00% 7 Missing ⚠️
...behavior_path_start_planner_module/src/manager.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5983      +/-   ##
==========================================
+ Coverage   15.22%   15.31%   +0.08%     
==========================================
  Files        1767     1759       -8     
  Lines      121695   121480     -215     
  Branches    37020    37020              
==========================================
+ Hits        18534    18608      +74     
+ Misses      82349    82001     -348     
- Partials    20812    20871      +59     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 15.31% <ø> (+0.08%) ⬆️ Carriedforward from 6e15bd4

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

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

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

LGTM!

@@ -912,6 +912,10 @@ std::vector<Pose> StartPlannerModule::searchPullOutStartPoseCandidates(
pull_out_lanes, start_pose.position, parameters_->th_moving_object_velocity,
backward_path_length, std::numeric_limits<double>::max());

const auto front_stop_objects_in_shoulder_lanes = filterStopObjectsInPullOutLanes(
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const auto front_stop_objects_in_shoulder_lanes = filterStopObjectsInPullOutLanes(
const auto front_stop_objects_in_pull_out_lanes = filterStopObjectsInPullOutLanes(

pull out lane can be non shoulder lane

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank you!
changed in 130d0d9

@kyoichi-sugahara kyoichi-sugahara merged commit 9b736d5 into autowarefoundation:main Jan 11, 2024
22 of 27 checks passed
@kyoichi-sugahara kyoichi-sugahara deleted the feat/keep_distance_against_front_objects branch January 11, 2024 02:39
zulfaqar-azmi-t4 pushed a commit to zulfaqar-azmi-t4/autoware.universe that referenced this pull request Jan 11, 2024
…ndation#5983)

* refactor extractCollisionCheckPath

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: Kosuke Takeuchi <[email protected]>
kyoichi-sugahara added a commit to tier4/autoware.universe that referenced this pull request Jan 11, 2024
…ndation#5983)

* refactor extractCollisionCheckPath

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: Kosuke Takeuchi <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 26, 2024
…ndation#5983)

* refactor extractCollisionCheckPath

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: Kosuke Takeuchi <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…ndation#5983)

* refactor extractCollisionCheckPath

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: Kosuke Takeuchi <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…ndation#5983)

* refactor extractCollisionCheckPath

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: Kosuke Takeuchi <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…ndation#5983)

* refactor extractCollisionCheckPath

Signed-off-by: kyoichi-sugahara <[email protected]>

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
Co-authored-by: Kosuke Takeuchi <[email protected]>
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) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants