feat(behavior_path_planner): add new lateral acc condition #3304
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
Add new lateral acceleration when the lane-changing velocity is lower than a certain threshold.
🤖 Generated by Copilot at bf43e91
This pull request adds new parameters and logic to the lane change planner to adjust the lateral acceleration based on the vehicle speed. This can improve the comfort and safety of the lane change maneuver. The changes affect the
lane_change.param.yaml
configuration file, theLaneChangeParameters
struct, thegetLaneChangeParam
function, and thecalcLaneChangingDistance
function.Before the PR
![image](https://user-images.githubusercontent.com/43805014/230441688-09bc3777-87cd-4f81-b798-263cf0626206.png)
After the PR:
![image](https://user-images.githubusercontent.com/43805014/230439260-b4798237-a6aa-418f-9f55-3c09db0c59dc.png)
Related links
autowarefoundation/autoware_launch#283
Tests performed
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.
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.