Reference tracking #73
-
|
Hello, I've been trying to use tinyMPC for reference tracking, but I am interested in tracking only one state, which seems impossible even with very large control horizon, so I've been going through the code and stumbled upon something I don't understand. In What I dont understand is why are you adding essentially two times the Could I maybe use my original |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hey @Matyjehouba , the first addition is needed for the ADMM augmented Lagrangian, and the second is done purely as a regularization choice. So yes, you can use the original |
Beta Was this translation helpful? Give feedback.
Hey @Matyjehouba , the first addition is needed for the ADMM augmented Lagrangian, and the second is done purely as a regularization choice. So yes, you can use the original
Qsince it will only remove the regularization, and does not change the optimization problem. However, at the end if you changePinf, you might also want to changeKinfbecause those are all derived from the same LQR and should stay consistent.