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

refactor(goal planner): hold modified_goal in PullOverPath ,copy modified goal once from background thread #9006

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Oct 2, 2024

Description

depends #8994

Related links

Parent Issue:

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Oct 2, 2024
Copy link

github-actions bot commented Oct 2, 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 refactor/goal-planner-copy-modified-goal branch 2 times, most recently from 343627a to 35da99a Compare October 2, 2024 12:11
@soblin soblin force-pushed the refactor/goal-planner-copy-modified-goal branch 4 times, most recently from e071c74 to 01a9424 Compare October 4, 2024 09:27
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@soblin soblin force-pushed the refactor/goal-planner-copy-modified-goal branch from 01a9424 to 1422490 Compare October 4, 2024 10:37
@soblin soblin marked this pull request as ready for review October 4, 2024 10:56
size_t id() const { return id_; }
Pose start_pose() const { return start_pose_; }
Pose end_pose() const { return end_pose_; }
Pose end_pose() const { return modified_goal_pose_.goal_pose; }
Copy link
Contributor

Choose a reason for hiding this comment

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

This PR makes the end pose and goal pose coincide, so the end pose is no longer necessary.
(Previously, the end of the shift was the end pose only for shift pull over.)
It appears that the end pose can be eliminated entirely.

@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 7, 2024
@soblin soblin enabled auto-merge (squash) October 7, 2024 01:59
@soblin soblin merged commit 13e6530 into autowarefoundation:main Oct 7, 2024
36 checks passed
@soblin soblin deleted the refactor/goal-planner-copy-modified-goal branch October 7, 2024 02:11
Copy link

codecov bot commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.

Project coverage is 26.50%. Comparing base (338deba) to head (1422490).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...th_goal_planner_module/src/goal_planner_module.cpp 0.00% 3 Missing ⚠️
...dule/src/pull_over_planner/geometric_pull_over.cpp 0.00% 3 Missing ⚠️
...r_module/src/pull_over_planner/shift_pull_over.cpp 0.00% 3 Missing ⚠️
...odule/pull_over_planner/pull_over_planner_base.hpp 0.00% 2 Missing ⚠️
...dule/src/pull_over_planner/freespace_pull_over.cpp 0.00% 2 Missing ⚠️
...e/src/pull_over_planner/pull_over_planner_base.cpp 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9006      +/-   ##
==========================================
- Coverage   26.52%   26.50%   -0.02%     
==========================================
  Files        1296     1300       +4     
  Lines       95711    95768      +57     
  Branches    38974    38975       +1     
==========================================
  Hits        25383    25383              
- Misses      67721    67778      +57     
  Partials     2607     2607              
Flag Coverage Δ *Carryforward flag
differential 1.22% <0.00%> (?)
total 26.52% <ø> (+<0.01%) ⬆️ Carriedforward from 338deba

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

prakash-kannaiah pushed a commit to prakash-kannaiah/autoware.universe that referenced this pull request Oct 9, 2024
…fied goal once from background thread (autowarefoundation#9006)

refactor(goal_planner): save modified_goal_pose in PullOverPlannerBase

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: prakash-kannaiah <prakashkanan.pk@gmail.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