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(start_planner): remove front of shift start pose from collision check section #6374

Conversation

kyoichi-sugahara
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara commented Feb 9, 2024

Description

points front of shift start pose was used for collision check
That was causing the problem of not generating shift pull out path when object is located at behind of ego vehicle
Screenshot from 2024-02-09 21-46-41

Now shift pull out path can be generated even when object is located at behind of ego vehicle
Screenshot from 2024-02-09 21-59-07

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.

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Feb 9, 2024
@shmpwk shmpwk self-assigned this Feb 9, 2024
@shmpwk shmpwk added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 9, 2024
Copy link

codecov bot commented Feb 9, 2024

Codecov Report

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

Comparison is base (1121f3b) 14.88% compared to head (bfa18fa) 14.88%.
Report is 2 commits behind head on main.

❗ Current head bfa18fa differs from pull request most recent head d29cb27. Consider uploading reports for the commit d29cb27 to get more accurate results

Files Patch % Lines
..._start_planner_module/src/start_planner_module.cpp 0.00% 53 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6374      +/-   ##
==========================================
- Coverage   14.88%   14.88%   -0.01%     
==========================================
  Files        1838     1838              
  Lines      126699   126709      +10     
  Branches    38042    38042              
==========================================
  Hits        18865    18865              
- Misses      86535    86545      +10     
  Partials    21299    21299              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 14.89% <ø> (+<0.01%) ⬆️ Carriedforward from 726f0f9

*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.

@kyoichi-sugahara kyoichi-sugahara removed the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 9, 2024
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.

thanks! LGTM!

Comment on lines -740 to -743
// remove the point behind of collision check end pose
combined_path.points.erase(
combined_path.points.begin() + collision_check_end_idx + 1, combined_path.points.end());
return combined_path;
Copy link
Contributor

Choose a reason for hiding this comment

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

memo:
this kept points before all points before collision_check_end_idx including points before start pose

@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 11, 2024
Copy link
Contributor

@shmpwk shmpwk left a comment

Choose a reason for hiding this comment

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

LGTM

…alization (autowarefoundation#6376)

* separate debug and info marker

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* replace util function for footprint

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot added the component:launch Launch files, scripts and initialization tools. (auto-assigned) label Feb 12, 2024
@github-actions github-actions bot removed the component:launch Launch files, scripts and initialization tools. (auto-assigned) label Feb 12, 2024
@kyoichi-sugahara kyoichi-sugahara enabled auto-merge (squash) February 12, 2024 10:49
@kyoichi-sugahara
Copy link
Contributor Author

confirmed no degression with start_planner related scenario.

@kyoichi-sugahara kyoichi-sugahara merged commit a10f9c4 into autowarefoundation:main Feb 12, 2024
23 of 25 checks passed
@kyoichi-sugahara kyoichi-sugahara deleted the fix/remove_front_points branch February 12, 2024 11:37
shmpwk pushed a commit to tier4/autoware_universe that referenced this pull request Feb 12, 2024
…heck section (autowarefoundation#6374)

* remove front of shift start pose

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Refactor collision check section extraction in StartPlannerModule

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
StepTurtle pushed a commit to StepTurtle/autoware.universe that referenced this pull request Feb 28, 2024
…heck section (autowarefoundation#6374)

* remove front of shift start pose

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Refactor collision check section extraction in StartPlannerModule

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…heck section (autowarefoundation#6374)

* remove front of shift start pose

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Refactor collision check section extraction in StartPlannerModule

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
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.

3 participants