summaryrefslogtreecommitdiffstats
path: root/uav_model.m
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-31 15:31:02 +0200
committerNao Pross <np@0hm.ch>2024-05-31 15:31:02 +0200
commitd2d174694099a2e9e88124287e2fd32c3cc4e808 (patch)
tree5bb4a53a820ec32d175845a9062888fdb26b4f96 /uav_model.m
parentAdd worst case (diff)
downloaduav-d2d174694099a2e9e88124287e2fd32c3cc4e808.tar.gz
uav-d2d174694099a2e9e88124287e2fd32c3cc4e808.zip
Update model and weightsHEADmaster
Diffstat (limited to '')
-rw-r--r--uav_model.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/uav_model.m b/uav_model.m
index af0be20..c2d588d 100644
--- a/uav_model.m
+++ b/uav_model.m
@@ -9,8 +9,7 @@
% principles (equations of motion).
%
% * A linear model obtained by linearizing the the non linear plant model at
-% an operating point specified in the params struct argument. And adding
-% models for the actuators.
+% an operating point specified in the params struct argument.
%
% * A uncertain linear model with reference trcking built atop of the linear
% model using SIMULINK. The uncertain model contains the performance and
@@ -276,7 +275,7 @@ sys = pade(ss(A, B, C, D, 'OutputDelay', T), n);
% sys = ss(A, B, C, D);
% Add actuators
-sys = sys * model.actuators.StateSpace;
+% sys = sys * model.actuators.StateSpace;
% Remove unnecessary states
sys = minreal(sys, [], false); % slient