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(lane_change): combine terminal lane change path at waiting approval #6176

Merged
merged 10 commits into from
Jan 30, 2024

Conversation

rej55
Copy link
Contributor

@rej55 rej55 commented Jan 25, 2024

Description

Before this change, we cannot lane change if some objects on the terminal lane change path.
To solve this problem, I add two functions.

  1. Combine terminal lane change path at waiting approval
  2. Filter objects on the terminal lane change path

Tests performed

TIER IV INTERNAL LINK

Screencast.from.2024.01.25.18.12.12.webm

Effects on system behavior

Enable to lane change at terminal.

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.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jan 25, 2024
@@ -122,16 +122,19 @@ BehaviorModuleOutput LaneChangeInterface::plan()

BehaviorModuleOutput LaneChangeInterface::planWaitingApproval()
{
module_type_->updateLaneChangeStatus();
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 Jan 25, 2024

Choose a reason for hiding this comment

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

updateLaneChangeStatus() is called in updateData() . is there any reason adding them here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Done.
f2b605f

Comment on lines 135 to 137
module_type_->setPreviousModulePaths(
getPreviousModuleOutput().reference_path, getPreviousModuleOutput().path);
setObjectDebugVisualization();
Copy link
Contributor

Choose a reason for hiding this comment

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

These two lines has already been updated in updateData(). is there any reason adding them here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.
82a6f28

@rej55 rej55 force-pushed the feat/terminal_lane_change branch 4 times, most recently from a3ec01d to a61d7be Compare January 29, 2024 06:40
@rej55 rej55 force-pushed the feat/terminal_lane_change branch from a61d7be to 1dc6ee3 Compare January 29, 2024 10:07
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 left a comment

Choose a reason for hiding this comment

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

LGTM!

intersection case

cap-.2024-01-30-10-57-02.mp4

straight line case

cap-.2024-01-30-10-58-05.mp4

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 30, 2024
@rej55 rej55 enabled auto-merge (squash) January 30, 2024 02:09
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 112 lines in your changes are missing coverage. Please review.

Comparison is base (e49d63c) 14.39% compared to head (7e0fbe4) 14.38%.
Report is 2 commits behind head on main.

Files Patch % Lines
...ing/behavior_path_lane_change_module/src/scene.cpp 0.00% 103 Missing ⚠️
...behavior_path_lane_change_module/src/interface.cpp 0.00% 5 Missing ⚠️
...havior_path_lane_change_module/src/utils/utils.cpp 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6176      +/-   ##
==========================================
- Coverage   14.39%   14.38%   -0.02%     
==========================================
  Files        1905     1905              
  Lines      129699   129803     +104     
  Branches    37471    37537      +66     
==========================================
  Hits        18674    18674              
- Misses      90052    90156     +104     
  Partials    20973    20973              
Flag Coverage Δ *Carryforward flag
differential 8.75% <0.00%> (?)
total 14.39% <ø> (+<0.01%) ⬆️ Carriedforward from e49d63c

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

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

@rej55 rej55 merged commit 47f265d into autowarefoundation:main Jan 30, 2024
31 of 35 checks passed
@rej55 rej55 deleted the feat/terminal_lane_change branch February 9, 2024 08:29
rej55 added a commit to tier4/autoware.universe that referenced this pull request Feb 9, 2024
…val (autowarefoundation#6176)

* saved

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix drivable area info

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): update filter object

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix turn signal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): fix typo

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove updateLaneChangeStatus()

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove redundant process

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): calculate distance to goal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): add empty guard

Signed-off-by: Fumiya Watanabe <[email protected]>

---------

Signed-off-by: Fumiya Watanabe <[email protected]>
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Feb 22, 2024
…val (autowarefoundation#6176)

* saved

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix drivable area info

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): update filter object

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix turn signal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): fix typo

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove updateLaneChangeStatus()

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove redundant process

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): calculate distance to goal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): add empty guard

Signed-off-by: Fumiya Watanabe <[email protected]>

---------

Signed-off-by: Fumiya Watanabe <[email protected]>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 23, 2024
…val (autowarefoundation#6176)

* saved

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix drivable area info

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): update filter object

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix turn signal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): fix typo

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove updateLaneChangeStatus()

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove redundant process

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): calculate distance to goal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): add empty guard

Signed-off-by: Fumiya Watanabe <[email protected]>

---------

Signed-off-by: Fumiya Watanabe <[email protected]>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 23, 2024
…val (autowarefoundation#6176)

* saved

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix drivable area info

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): update filter object

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix turn signal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): fix typo

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove updateLaneChangeStatus()

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove redundant process

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): calculate distance to goal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): add empty guard

Signed-off-by: Fumiya Watanabe <[email protected]>

---------

Signed-off-by: Fumiya Watanabe <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…val (autowarefoundation#6176)

* saved

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix drivable area info

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): update filter object

Signed-off-by: Fumiya Watanabe <[email protected]>

* feat(lane_change): fix turn signal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): fix typo

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove updateLaneChangeStatus()

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): remove redundant process

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): calculate distance to goal

Signed-off-by: Fumiya Watanabe <[email protected]>

* fix(lane_change): add empty guard

Signed-off-by: Fumiya Watanabe <[email protected]>

---------

Signed-off-by: Fumiya Watanabe <[email protected]>
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) tag: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