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): do not use isActivated() in deciding state transition #10056

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Jan 31, 2025

Description

goal_planner sends updateRTCStatus if it was able to find a stable safe path from the generated candidates (DECIDED status), and before updateRTCStatus isActivated() is null because goal_planner RTC entry itself does not exist. And after updateRTCStatus goal_planner RTC entry begins to exist but it remains DECIDED forever, so isActivated() in transit_state does not make sense at all by definition.

depends #10052

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@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 Jan 31, 2025
Copy link

github-actions bot commented Jan 31, 2025

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/ignore-rtc-in-deciding-status branch 2 times, most recently from 95797c1 to 3293b51 Compare January 31, 2025 04:13
@soblin soblin force-pushed the feat/goal-planner/ignore-rtc-in-deciding-status branch from 3293b51 to cef6775 Compare January 31, 2025 04:37
@github-actions github-actions bot removed the type:documentation Creating or refining documentation. (auto-assigned) label Jan 31, 2025
@soblin soblin marked this pull request as ready for review January 31, 2025 06:35
@soblin soblin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 31, 2025
@soblin soblin enabled auto-merge (squash) January 31, 2025 06:37
Copy link

codecov bot commented Jan 31, 2025

Codecov Report

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

Project coverage is 28.27%. Comparing base (ffded51) to head (cef6775).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...or_path_goal_planner_module/src/decision_state.cpp 0.00% 4 Missing ⚠️
...th_goal_planner_module/src/goal_planner_module.cpp 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10056      +/-   ##
==========================================
- Coverage   28.28%   28.27%   -0.01%     
==========================================
  Files        1484     1487       +3     
  Lines      111101   111138      +37     
  Branches    43170    43155      -15     
==========================================
  Hits        31426    31426              
- Misses      76657    76693      +36     
- Partials     3018     3019       +1     
Flag Coverage Δ *Carryforward flag
differential 0.50% <0.00%> (?)
total 28.31% <ø> (+0.02%) ⬆️ Carriedforward from ffded51

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

@soblin soblin merged commit 145f251 into autowarefoundation:main Jan 31, 2025
47 of 48 checks passed
@soblin soblin deleted the feat/goal-planner/ignore-rtc-in-deciding-status branch January 31, 2025 07:45
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants