fix(lane_change): lane change module changes output path intentionally without approval #3051
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Bug: Lane change module change it's output path without approval, and it is an unexpected behavior.
simplescreenrecorder-2023-03-11_13.32.34.mp4
In this PR, it set
waitApproval()
in onEntry() in order to blockplan()
execution at first time in followingrun()
function.autoware.universe/planning/behavior_path_planner/include/behavior_path_planner/scene_module/scene_module_interface.hpp
Lines 135 to 153 in e4bcc86
Test perform
1.set option
COMPILE_WITH_OLD_ARCHITECTURE
toFALSE
autoware.universe/planning/behavior_path_planner/CMakeLists.txt
Line 10 in 2ace0d2
2.disable rtc auto mode
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.