Commit 1f01b931 authored by Per Skarin's avatar Per Skarin
Browse files

Re-add mpc_costs which is input to TrueTime kernel

parent eb25908b
......@@ -13,6 +13,7 @@ rng(1);
SysC = sysmodel();
Qc = diag([1500 20 0]);
Rc = 1;
mpc_costs = [diag(Qc)' Rc];
[Kc, Sc, Ec] = lqr(SysC, Qc, Rc);
LQc = ss(SysC.A-SysC.B*Kc, SysC.B, SysC.C, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment