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(lane_change): use previous module drivable lanes in drivable are generation #3102

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Mar 17, 2023

Description

In the new manager, multiple modules run simultaneously in series. (e.g. avoidance -> lane change) But, the drivable area which the previous module generated is always overwritten by next module. As a result, the output drivable area is inconsistent.

In the following scene, the avoidance module's drivable area is overwritten by lane change module at the moment of lane change execution.

In this PR, I fixed lane change drivable generation logic to use previous module's drivable lanes.

image

NOTE: For now, I fixed only lane change and avoidance module because the other modules are not able to execute simlutaneouly now.

Related links

Tests performed

Please set following flag to FALSE, and confirm to pass all build.

set(COMPILE_WITH_OLD_ARCHITECTURE TRUE)

simplescreenrecorder-2023-03-17_15.53.06.mp4

Notes for reviewers

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.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Mar 17, 2023
@codecov
Copy link

codecov bot commented Mar 17, 2023

Codecov Report

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

Comparison is base (9971be3) 11.88% compared to head (37e3750) 11.88%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3102      +/-   ##
==========================================
- Coverage   11.88%   11.88%   -0.01%     
==========================================
  Files        1336     1336              
  Lines       93190    93246      +56     
  Branches    24729    24767      +38     
==========================================
  Hits        11078    11078              
- Misses      70632    70688      +56     
  Partials    11480    11480              
Flag Coverage Δ *Carryforward flag
differential 5.52% <0.00%> (?)
total 11.88% <ø> (+<0.01%) ⬆️ Carriedforward from 9971be3

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

Impacted Files Coverage Δ
...ner/include/behavior_path_planner/data_manager.hpp 21.42% <ø> (ø)
...lanner/scene_module/avoidance/avoidance_module.hpp 0.00% <ø> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 0.00% <0.00%> (ø)
...rc/scene_module/lane_change/lane_change_module.cpp 0.00% <ø> (ø)
...ehavior_path_planner/src/util/lane_change/util.cpp 0.00% <0.00%> (ø)
...em_error_monitor/src/system_error_monitor_core.cpp 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.

@satoshi-ota satoshi-ota force-pushed the fix/use-previous-module-output-in-drivable-generation branch from 1cb4881 to 9027e29 Compare March 17, 2023 04:19
@satoshi-ota satoshi-ota marked this pull request as ready for review March 17, 2023 05:15
… generation

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/use-previous-module-output-in-drivable-generation branch from 9027e29 to 37e3750 Compare March 17, 2023 06:58
Copy link
Contributor

@purewater0901 purewater0901 left a comment

Choose a reason for hiding this comment

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

LGTM

@satoshi-ota satoshi-ota merged commit 1a3b3f7 into autowarefoundation:main Mar 27, 2023
@satoshi-ota satoshi-ota deleted the fix/use-previous-module-output-in-drivable-generation branch March 27, 2023 23:57
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Mar 29, 2023
…generation (autowarefoundation#3102)

fix(lane_change): use previous module drivable lanes in drivable area generation

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
swiftfile pushed a commit to swiftfile/autoware.universe that referenced this pull request Mar 29, 2023
…generation (autowarefoundation#3102)

fix(lane_change): use previous module drivable lanes in drivable area generation

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: Yusuke Mizoguchi <sky.y.m.318@gmail.com>
xianglunkai pushed a commit to xianglunkai/autoware.universe that referenced this pull request Apr 3, 2023
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
ktro2828 pushed a commit to ktro2828/autoware.universe that referenced this pull request Apr 7, 2023
…generation (autowarefoundation#3102)

fix(lane_change): use previous module drivable lanes in drivable area generation

Signed-off-by: satoshi-ota <satoshi.ota928@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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants