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(goal_planner): dense goal candidate sampling in BusStopArea #8795

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Sep 6, 2024

Description

depends #8794

launcher PR: autowarefoundation/autoware_launch#1156

Related links

How was this PR tested?

use_bus_stop_area = false

image

use_bus_stop_area = true

image

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) labels Sep 6, 2024
Copy link

github-actions bot commented Sep 6, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@soblin soblin force-pushed the feat/goal_planner-sample-limit-bus-stop-area2 branch from 7643e4b to 4f61667 Compare September 9, 2024 03:38
@github-actions github-actions bot removed the component:map Map creation, storage, and loading. (auto-assigned) label Sep 9, 2024
@soblin soblin marked this pull request as ready for review September 9, 2024 08:11
if (
parameters_.bus_stop_area.use_bus_stop_area &&
!isInAreas(transformed_vehicle_footprint, bus_stop_area_polygons)) {
break;
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
break;
continue;

Copy link
Contributor

@kosuke55 kosuke55 Sep 9, 2024

Choose a reason for hiding this comment

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

sorry the name of isInAreas is bad, it return true, if it intersects.
for bus stop are the footprint should be completely in the area.

better to separate functions using

  • intersects
  • within

@soblin soblin force-pushed the feat/goal_planner-sample-limit-bus-stop-area2 branch from 80f4524 to a2962e1 Compare September 9, 2024 10:03
@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Sep 9, 2024
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

Attention: Patch coverage is 17.64706% with 28 lines in your changes missing coverage. Please review.

Project coverage is 25.12%. Comparing base (d669351) to head (744feec).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...ior_path_goal_planner_module/src/goal_searcher.cpp 0.00% 15 Missing ⚠️
...are_behavior_path_goal_planner_module/src/util.cpp 46.15% 3 Missing and 4 partials ⚠️
..._behavior_path_goal_planner_module/src/manager.cpp 0.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8795      +/-   ##
==========================================
- Coverage   25.13%   25.12%   -0.02%     
==========================================
  Files        1325     1329       +4     
  Lines       98662    98738      +76     
  Branches    38132    39555    +1423     
==========================================
+ Hits        24798    24805       +7     
- Misses      71376    71433      +57     
- Partials     2488     2500      +12     
Flag Coverage Δ *Carryforward flag
differential 0.66% <17.64%> (?)
total 25.13% <ø> (+<0.01%) ⬆️ Carriedforward from a2962e1

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

Signed-off-by: Mamoru Sobue <[email protected]>
@soblin
Copy link
Contributor Author

soblin commented Sep 9, 2024

@kosuke55 Can you approve this ?

@soblin soblin enabled auto-merge (squash) September 9, 2024 13:49
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

@soblin soblin merged commit 314d2a6 into autowarefoundation:main Sep 9, 2024
30 of 32 checks passed
@soblin soblin deleted the feat/goal_planner-sample-limit-bus-stop-area2 branch September 9, 2024 14:04
emuemuJP pushed a commit to arayabrain/autoware.universe.origin that referenced this pull request Sep 10, 2024
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