alexliniger / MPCC

Model Predictive Contouring Controller (MPCC) for Autonomous Racing
Apache License 2.0
1.29k stars 364 forks source link

Extremely small change of delta #36

Closed chentairan closed 3 years ago

chentairan commented 4 years ago

Hi @alexliniger ,

I modified the model parameters and boundary conditions, and kept the cost parameters. Try to test on a circular track, but after 600 iterations, the delta change is extremely small. Do you know the reason?

delta

Thanks, Tairan

alexliniger commented 4 years ago

I currently try to find a way to run MPCC with the full-scale parameters of the Matlab implementation. But it turned out to be harder than expected.

One way to somehow get it working is to always use the reset initial guess that starts from the center line with a fixed speed (change that speed to at least 5m/s), and using about 5+ SQP iterations with a SQP mixing of ~0.25. Also playing around with the cost function can help.

This is not how it should work, and I will try to fix this behavior once I have time, but it turned out to be harder to find than expected.

Best, Alex

alexliniger commented 3 years ago

Can you try this again with the new fullsize branch. Best, Alex

chentairan commented 3 years ago

That's worked, thanks !