-
Notifications
You must be signed in to change notification settings - Fork 659
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
feat(lane_change): combine terminal lane change path at waiting approval #6176
Conversation
@@ -122,16 +122,19 @@ BehaviorModuleOutput LaneChangeInterface::plan() | |||
|
|||
BehaviorModuleOutput LaneChangeInterface::planWaitingApproval() | |||
{ | |||
module_type_->updateLaneChangeStatus(); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Done.
f2b605f
module_type_->setPreviousModulePaths( | ||
getPreviousModuleOutput().reference_path, getPreviousModuleOutput().path); | ||
setObjectDebugVisualization(); |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
82a6f28
a3ec01d
to
a61d7be
Compare
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
Signed-off-by: Fumiya Watanabe <[email protected]>
a61d7be
to
1dc6ee3
Compare
There was a problem hiding this 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
Codecov ReportAttention:
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
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…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]>
…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]>
…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]>
…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]>
…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]>
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.
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.
After all checkboxes are checked, anyone who has write access can merge the PR.