question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lateral MPC is undershooting future predicted plan

See original GitHub issue

It seems the lateral MPC’s plan is not very accurate when compared to the actual future plan in steerActuatorDelay seconds. We can’t interpolate the lateral plan to 100 Hz until this is fixed, but I’ll look into it some more and confirm it’s a real issue. Closing https://github.com/commaai/openpilot/pull/23788 until it doesn’t cause oscillations.

Longitudinal: Screenshot from 2022-02-25 14-43-30

Lateral: Screenshot from 2022-02-25 14-31-43

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sshanecommented, Mar 10, 2022

Yup, I compared now + 0.2 seconds vs. the actual plan in 0.2 seconds

0reactions
sshanecommented, Aug 17, 2022

Well I assume so since we can’t interpolate the plan to 100Hz. However I haven’t confirmed that it’s an issue recently, so if anyone doesn’t do that, I’ll check in the next few weeks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lateral Model Predictive Control for Autonomous Heavy-Duty ...
This thesis addresses lateral motion control for autonomous HDVs using model predictive control (MPC). First, the autonomous vehicle ...
Read more >
Lecture 14 - Model Predictive Control Part 1: The Concept
At each time step, compute control by solving an open- loop optimization problem for the prediction horizon. • Apply the first value of...
Read more >
Stabilization of the Cart–Inverted-Pendulum System Using ...
The proposed MPC controller is designed with a generalized prediction model to circumvent an obvious stability problem [32] and a quadratic cost ...
Read more >
a brief guide do MATLAB/Simulink MPC toolbox - ResearchGate
A simple structure of the MPC is sketched in Fig. 3. ... ... So, increasing the prediction horizon enhances the system stability, but...
Read more >
Understanding Model Predictive Control - MATLAB & Simulink
Learn how model predictive control (MPC) works. MPC uses a model of the plant to make predictions about future plant outputs. It solves...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found