The control design uses subf16.m, and the values of ay and az this model outputs. However, the simulation model uses subf16_stevens.m, which is almost the same, except for a few lines including a modification to ay:
ay=ay+xa*xd(9); % moves side accel in front of c.g.
I believe this means the control design uses a (slightly) different model than the simulation.
We probably only want one S&L model, rather than having both subf16.m and subf16_stevens.m (maybe subf16.m could call subf16_stevens.m and drop the extra variables).
The control design uses
subf16.m
, and the values ofay
andaz
this model outputs. However, the simulation model usessubf16_stevens.m
, which is almost the same, except for a few lines including a modification toay
:I believe this means the control design uses a (slightly) different model than the simulation.
We probably only want one S&L model, rather than having both
subf16.m
andsubf16_stevens.m
(maybesubf16.m
could callsubf16_stevens.m
and drop the extra variables).