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(behavior_path_planner): use module status idle before approval and keep candiate running module when approved module succeed #3928

Merged
merged 2 commits into from
Jun 19, 2023

Conversation

kosuke55
Copy link
Contributor

@kosuke55 kosuke55 commented Jun 9, 2023

Description

when the approved module turns SUCCESS, clear candidate_modules.
ex) avoidance module is once approved as left_avoid(at this time avoidance module is still in candidate_modules), but if other approved module turn SUCCESS, cancel the left_avoid

For this problem, in this PR,
use

  • IDLE before approval
  • RUNNING after approval
    • keeping the status if approved once.
      And, even if the approved module turns SUCCESS keep the RUNNING candidate modules.

Related links

tier4 internal slack

Tests performed

psim

kepp_running_candidate-2023-06-09_20.30.10.mp4

tier4 internal sceneario test

base_line 1331/1372(2023/06/19)

Notes for reviewers

please check LC+avoidance

Interface changes

not applicable

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@codecov
Copy link

codecov bot commented Jun 9, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.02 ⚠️

Comparison is base (0beee33) 14.41% compared to head (5d2c048) 14.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3928      +/-   ##
==========================================
- Coverage   14.41%   14.40%   -0.02%     
==========================================
  Files        1456     1456              
  Lines      102763   102893     +130     
  Branches    29782    29873      +91     
==========================================
+ Hits        14812    14817       +5     
- Misses      71768    71891     +123     
- Partials    16183    16185       +2     
Flag Coverage Δ *Carryforward flag
differential 12.76% <0.00%> (?)
total 14.41% <ø> (+<0.01%) ⬆️ Carriedforward from 4560ce5

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
.../include/behavior_path_planner/planner_manager.hpp 0.00% <ø> (ø)
...th_planner/scene_module/scene_module_interface.hpp 29.74% <ø> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 4.14% <ø> (ø)
...ule/dynamic_avoidance/dynamic_avoidance_module.cpp 0.00% <ø> (ø)
...planner/src/scene_module/lane_change/interface.cpp 12.75% <0.00%> (-0.05%) ⬇️
...cene_module/start_planner/start_planner_module.cpp 6.10% <0.00%> (-0.04%) ⬇️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kosuke55 kosuke55 force-pushed the feat/idle branch 5 times, most recently from 85d606d to 7436ab2 Compare June 19, 2023 05:00
…nd keep candiate running module when approved module succeed

Signed-off-by: kosuke55 <[email protected]>
Copy link
Contributor

@rej55 rej55 left a comment

Choose a reason for hiding this comment

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

It seems the change is okay.
If the internal test is passed, you can merge this PR.

@kosuke55
Copy link
Contributor Author

@kosuke55 kosuke55 merged commit ea7e4e6 into main Jun 19, 2023
@kosuke55 kosuke55 deleted the feat/idle branch June 19, 2023 09:54
kosuke55 added a commit to tier4/autoware.universe that referenced this pull request Jun 19, 2023
…nd keep candiate running module when approved module succeed (autowarefoundation#3928)

* feat(behavior_path_planner): use module status idle before approval and keep candiate running module when approved module succeed

Signed-off-by: kosuke55 <[email protected]>

* fix pre commmit readability/braces

Signed-off-by: kosuke55 <[email protected]>

---------

Signed-off-by: kosuke55 <[email protected]>

fix build

Signed-off-by: kosuke55 <[email protected]>
kosuke55 added a commit to tier4/autoware.universe that referenced this pull request Jun 19, 2023
…nd keep candiate running module when approved module succeed (autowarefoundation#3928)

* feat(behavior_path_planner): use module status idle before approval and keep candiate running module when approved module succeed

Signed-off-by: kosuke55 <[email protected]>

* fix pre commmit readability/braces

Signed-off-by: kosuke55 <[email protected]>

---------

Signed-off-by: kosuke55 <[email protected]>

fix build

Signed-off-by: kosuke55 <[email protected]>
shmpwk added a commit to tier4/autoware.universe that referenced this pull request Jun 19, 2023
feat(behavior_path_planner): use module status idle before approval and keep candiate running module when approved module succeed autowarefoundation#3928
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants