Overview
| Comment: | Don't default R if already set! |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | origin/master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
5ef421790a3d53d6660fa2618a11cc01 |
| User & Date: | gawthrop@users.sourceforge.net on 2003-10-28 21:31:24.000 |
| Other Links: | branch diff | manifest | tags |
Context
|
2003-11-02
| ||
| 21:21:51 | More parameters in p_c and p_o check-in: a3e6873718 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
|
2003-10-28
| ||
| 21:31:24 | Don't default R if already set! check-in: 5ef421790a user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
| 20:58:16 | Add extra modes using p_c.A_e check-in: a025e27f46 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/lib/control/PPP/ppp_lin_run.m
from [ef48377cb1]
to [9de40a6260].
| ︙ | ︙ | |||
83 84 85 86 87 88 89 |
if !struct_contains(p_c,"Method")
p_c.Method = "lq";
endif
if struct_contains(p_c,"Method")
if strcmp(p_c.Method,"lq")
p_c.Q = eye(n_y);
| > > | | | 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
if !struct_contains(p_c,"Method")
p_c.Method = "lq";
endif
if struct_contains(p_c,"Method")
if strcmp(p_c.Method,"lq")
p_c.Q = eye(n_y);
p_c.n_U = n_x;
if !struct_contains(p_c,"R")
p_c.R = (0.1^2)*eye(n_u);
endif
elseif strcmp(p_c.Method,"original");
if !struct_contains(p_c,"A_w")
p_c.A_w = 0;
endif
if !struct_contains(p_c,"A_u")
p_c.n_U = n_x;
a_u = 2.0;
|
| ︙ | ︙ |