ARMSLab / slmpc

Successive Linearization Model Predictive Control
https://armslab.github.io/lmpc-matlab
15 stars 13 forks source link

issue with singular matrix #3

Open vpatne opened 3 years ago

vpatne commented 3 years ago

The code is really helpful. But I am facing issue when the A matrix generated is singular. This makes it non-invertible causing the B and K to have NaN values.

what can be the solution in such cases?

tomcheck1212 commented 2 years ago

Same here! Do you figured out any solution?

travisjallen commented 1 year ago

I am also having this issue, has anyone found a solution?