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

fix(planner_manager): remove succeeded candidate module #3346

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Apr 11, 2023

Description

There are some modules that return ModuleStatus::SUCCESS before approval (e.g. pull over, avoidance), but planner_manager doesn't remove such a expired candidate module for now. Thus, these modules are never removed and next new module can't be launch depending on max_module_size value (all module set this param to 1 by default). As a result , an unexpected bahevior happend like this ⬇️

In this PR, the planner_manager removes not only ModuleStatus::FAILURE modules but also ModuleStatus::SUCCESS candidate modules.

simplescreenrecorder-2023-04-11_10.35.05.mp4

Tests performed

webauto ci scenario run --project-id prd_jt --scenario-id f112364c-1b55-4c48-bebd-8a68b0e52122 --runtime-path /$HOME/pilot-auto --scenario-parameters __tier4_modifier_Ve=11.111
simplescreenrecorder-2023-04-11_10.20.58.mp4

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.

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Apr 11, 2023
@satoshi-ota
Copy link
Contributor Author

now, evaluator running...

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (93e040a) 12.33% compared to head (84fc9d1) 12.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3346   +/-   ##
=======================================
  Coverage   12.33%   12.33%           
=======================================
  Files        1381     1381           
  Lines       96692    96692           
  Branches    27978    27978           
=======================================
  Hits        11930    11930           
  Misses      72094    72094           
  Partials    12668    12668           
Flag Coverage Δ *Carryforward flag
differential 5.27% <0.00%> (?)
total 12.33% <ø> (+<0.01%) ⬆️ Carriedforward from 93e040a

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

Impacted Files Coverage Δ
...er/src/scene_module/avoidance/avoidance_module.cpp 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

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.

thaks! good

@satoshi-ota
Copy link
Contributor Author

Evaluator result: All pass pull over scenarios

1178/1200 -> 1197/1200

@satoshi-ota satoshi-ota merged commit 86b773a into autowarefoundation:main Apr 11, 2023
@satoshi-ota satoshi-ota deleted the fix/remove-succeeded-candidate-module branch April 11, 2023 04:19
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.

2 participants