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): define ignore section separately #6219

Conversation

kyoichi-sugahara
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara commented Jan 30, 2024

Description

launcher PR should be merged first

In this PR, apply same offset colission check section for shift/geometric pull out path.
But path length is different and

  • In some cases, ignore_section is necessary for shift pull out path but if same length of ignore section is applied to geometric pull out path, whole or almost all section of ignored and no collision check is executed.

image

So in this PR, define shift_collision_check_distance_from_end for shift pull out path geometric_collision_check_distance_from_end for geometric pull out path.

Tests performed

With following default parameter, I confirmed collision check end pose is offset to shift pull out path but not to geometric pull out path.

Screenshot from 2024-01-30 09-31-40
geometric_collision_check_distance_from_end = 0.0

Screenshot from 2024-01-30 09-32-37
shift_collision_check_distance_from_end = -10.0

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 the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jan 30, 2024
Comment on lines +1415 to +1417
std::map<PlannerType, double> collision_check_distances = {
{PlannerType::SHIFT, parameters_->shift_collision_check_distance_from_end},
{PlannerType::GEOMETRIC, parameters_->geometric_collision_check_distance_from_end}};
Copy link
Contributor

Choose a reason for hiding this comment

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

(nits: this is duplicated process, maybe it is also good have as member)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah
define map as member variable you mean?
I agree

Copy link
Contributor

Choose a reason for hiding this comment

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

yes because this map is like a parameter

@kyoichi-sugahara kyoichi-sugahara added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 30, 2024
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

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

Comparison is base (ef7a2b9) 14.40% compared to head (f0e0a3e) 14.40%.
Report is 5 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% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6219      +/-   ##
==========================================
- Coverage   14.40%   14.40%   -0.01%     
==========================================
  Files        1906     1906              
  Lines      129839   129845       +6     
  Branches    37571    37571              
==========================================
  Hits        18699    18699              
- Misses      90146    90152       +6     
  Partials    20994    20994              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 14.40% <ø> (+<0.01%) ⬆️ Carriedforward from ef7a2b9

*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 merged commit 7b1a414 into autowarefoundation:main Jan 31, 2024
29 of 34 checks passed
@kyoichi-sugahara kyoichi-sugahara deleted the feat/apply_offset_distance_for_geometric branch January 31, 2024 01:05
kyoichi-sugahara added a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Feb 8, 2024
…tion#6219)

* Update collision check distances in start planner module

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

---------

Signed-off-by: kyoichi-sugahara <[email protected]>
kyoichi-sugahara added a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Feb 8, 2024
…tion#6219)

* Update collision check distances in start planner module

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

---------

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

* Update collision check distances in start planner module

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

---------

Signed-off-by: kyoichi-sugahara <[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) tag: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