summaryrefslogtreecommitdiffstats
path: root/uav_performance.m
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-14 17:54:05 +0200
committerNao Pross <np@0hm.ch>2024-05-14 17:54:32 +0200
commit956a5bab88ac0a505b16d131e600c6f1a1afdbac (patch)
tree482e613fa65bd7a2f188b6f0871c74ca90f7242b /uav_performance.m
parentImplement DK iteration (diff)
downloaduav-956a5bab88ac0a505b16d131e600c6f1a1afdbac.tar.gz
uav-956a5bab88ac0a505b16d131e600c6f1a1afdbac.zip
Fix DK iteration scales, add realistic values
also separate performance requirements from hinf and musyn
Diffstat (limited to '')
-rw-r--r--uav_performance_hinf.m (renamed from uav_performance.m)4
1 files changed, 2 insertions, 2 deletions
diff --git a/uav_performance.m b/uav_performance_hinf.m
index 4857a34..6ece761 100644
--- a/uav_performance.m
+++ b/uav_performance_hinf.m
@@ -13,7 +13,7 @@
% PERF Struct performance transfer functions
-function [perf] = uav_performance(params, plot)
+function [perf] = uav_performance(params, do_plots)
% Laplace variable
s = tf('s');
@@ -64,7 +64,7 @@ perf = struct(...
'Velocity', W_PPdot, ...
'Angles', W_PTheta);
-if plot
+if do_plots
% Bode plots of performance requirements
figure; hold on;