-
Notifications
You must be signed in to change notification settings - Fork 658
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(autoware_mpc_lateral_controller): fix calculation method of predicted trajectory #9048
fix(autoware_mpc_lateral_controller): fix calculation method of predicted trajectory #9048
Conversation
Signed-off-by: Kyoichi Sugahara <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9048 +/- ##
==========================================
- Coverage 26.68% 26.67% -0.01%
==========================================
Files 1296 1296
Lines 95679 95692 +13
Branches 39078 39081 +3
==========================================
- Hits 25530 25527 -3
- Misses 67494 67509 +15
- Partials 2655 2656 +1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c2438fd
into
autowarefoundation:main
…cted trajectory (autowarefoundation#9048) * fix(vehicle_model): fix calculation method of predicted trajectory Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]> Signed-off-by: prakash-kannaiah <[email protected]>
…cted trajectory (autowarefoundation#9048) * fix(vehicle_model): fix calculation method of predicted trajectory Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]>
…cted trajectory (autowarefoundation#9048) * fix(vehicle_model): fix calculation method of predicted trajectory Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]>
…cted trajectory (autowarefoundation#9048) * fix(vehicle_model): fix calculation method of predicted trajectory Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]>
…cted trajectory (autowarefoundation#9048) * fix(vehicle_model): fix calculation method of predicted trajectory Signed-off-by: Kyoichi Sugahara <[email protected]> --------- Signed-off-by: Kyoichi Sugahara <[email protected]>
fix(autoware_mpc_lateral_controller): fix calculation method of predicted trajectory (autowarefoundation#9048) * fix(vehicle_model): fix calculation method of predicted trajectory --------- Signed-off-by: Kyoichi Sugahara <[email protected]> Co-authored-by: Kyoichi Sugahara <[email protected]>
Description
fix calculation method of predicted trajectory.
As a premise, the MPC optimization result considers a first-order delay applied to the ideal steering angle calculated based on the path curvature.
The original method for calculating the predicted path was as follows:
It calculats the desired steering angle based on the MPC optimization result, and then computed the predicted steering angle at each time step. This approach inadvertently considered the first-order delay twice.
As a result, the following issue occurred:
the predicted path became unstable at low speeds.
In this PR, I confirmed that the problem was resolved by removing the term that considers the steering's first-order delay during the predicted path calculation.
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.