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 lane change force approval by rtc #2672

Merged

Conversation

tkimura4
Copy link
Contributor

@tkimura4 tkimura4 commented Jan 17, 2023

Signed-off-by: tomoya.kimura [email protected]

Description

Fix lane change force approval.

In current implementation, when there are no safe path ( collision-free path against obstacles ), the state of lane change module becomes SUCCESS, and the lane change module finishes soon.
As a result, when there are no safe path, even if lane change module was activated by rtc,the lane change is not executed.
I fixed it.

Related links

#2379

Tests performed

Before:
https://user-images.githubusercontent.com/59680180/212894751-b90c2be7-fb58-404d-a6a0-9b8cef02a9d5.mp4
(The lane change module was approved by rtc three times but the lane change was not executed
until the obstacle is removed.)
After:
https://user-images.githubusercontent.com/59680180/212895191-9fed9fd0-e156-4607-9028-f50f2d92de33.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 Jan 17, 2023
tkimura4 referenced this pull request in tier4/autoware.universe Jan 17, 2023
tkimura4 referenced this pull request in tier4/autoware.universe Jan 17, 2023
@codecov
Copy link

codecov bot commented Jan 17, 2023

Codecov Report

Base: 11.38% // Head: 11.35% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (cab1fc9) compared to base (11c0c8d).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2672      +/-   ##
==========================================
- Coverage   11.38%   11.35%   -0.04%     
==========================================
  Files        1277     1277              
  Lines       89236    89517     +281     
  Branches    23622    23789     +167     
==========================================
+ Hits        10161    10162       +1     
- Misses      68305    68566     +261     
- Partials    10770    10789      +19     
Flag Coverage Δ *Carryforward flag
differential 4.94% <0.00%> (?)
total 11.38% <0.00%> (ø) Carriedforward from 11c0c8d

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

Impacted Files Coverage Δ
...er/scene_module/lane_change/lane_change_module.hpp 0.00% <ø> (ø)
...ene_module/lane_change/lane_change_module_data.hpp 0.00% <ø> (ø)
...rc/scene_module/lane_change/lane_change_module.cpp 0.00% <0.00%> (ø)
...r/src/scene_module/pull_out/geometric_pull_out.cpp 0.00% <0.00%> (ø)
...or_path_planner/src/behavior_path_planner_node.cpp 0.27% <0.00%> (+0.11%) ⬆️

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 at Codecov.
📢 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.

LGTM

@tkimura4 tkimura4 merged commit 0bfa943 into autowarefoundation:main Jan 17, 2023
@tkimura4 tkimura4 deleted the fix/lane_change_force_approval branch January 17, 2023 12:52
tkimura4 added a commit to tier4/autoware.universe that referenced this pull request Jan 17, 2023
…dation#2672) (#246)

fix(lane_change): fix lane change force approval by rtc (autowarefoundation#2672)

Signed-off-by: tomoya.kimura <[email protected]>

Signed-off-by: tomoya.kimura <[email protected]>
maxime-clem pushed a commit to maxime-clem/autoware.universe that referenced this pull request Jan 30, 2023
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