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): fix state transition in lane change for multiple module cooperation #4836

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

rej55
Copy link
Contributor

@rej55 rej55 commented Aug 31, 2023

Description

Before this change, reference path may be suddenly changed if the lane change module aborted while avoidance module running.
To fix this problem, I changed the state transition of lane change module and updating root lanelet function.

Related links

Tests performed

TIER IV INTERNAL TEST

Tested in planning simulator.

cap-.2023-08-31-18-47-23.mp4

Notes for reviewers

Interface changes

Not applicable.

Effects on system behavior

Suddenly changing of reference path is fixed.

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.

…dule cooperation

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Aug 31, 2023
@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 31, 2023
@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch coverage: 25.00% and project coverage change: +0.08% 🎉

Comparison is base (b16ab34) 15.11% compared to head (97eef8d) 15.19%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4836      +/-   ##
==========================================
+ Coverage   15.11%   15.19%   +0.08%     
==========================================
  Files        1573     1573              
  Lines      108363   108692     +329     
  Branches    33278    33500     +222     
==========================================
+ Hits        16382    16520     +138     
- Misses      74126    74218      +92     
- Partials    17855    17954      +99     
Flag Coverage Δ *Carryforward flag
differential 13.05% <25.00%> (?)
total 15.11% <ø> (+<0.01%) ⬆️ Carriedforward from b16ab34

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

Files Changed Coverage Δ
...ning/behavior_path_planner/src/planner_manager.cpp 18.52% <0.00%> (+0.57%) ⬆️
...planner/src/scene_module/lane_change/interface.cpp 6.52% <0.00%> (+0.21%) ⬆️
.../include/behavior_path_planner/planner_manager.hpp 22.00% <50.00%> (+0.64%) ⬆️

... and 4 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@satoshi-ota satoshi-ota self-requested a review September 1, 2023 06:39
Copy link
Contributor

@satoshi-ota satoshi-ota left a comment

Choose a reason for hiding this comment

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

@rej55 It works well in my local env. LGTM.

@satoshi-ota satoshi-ota merged commit 6b118c2 into autowarefoundation:main Sep 1, 2023
@rej55 rej55 deleted the fix/lane_change_state branch September 1, 2023 06:59
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