summaryrefslogtreecommitdiffstats
path: root/uav_params.m
diff options
context:
space:
mode:
Diffstat (limited to 'uav_params.m')
-rw-r--r--uav_params.m10
1 files changed, 8 insertions, 2 deletions
diff --git a/uav_params.m b/uav_params.m
index da8a19b..a1c0e4a 100644
--- a/uav_params.m
+++ b/uav_params.m
@@ -11,6 +11,7 @@ function [params] = uav_params()
% Time in s
% Frequencies in Hz
% Angular velocities in rad / s
+% Uncertainty / measurement errors in percentage (between 0 and 1)
params = struct();
@@ -44,7 +45,8 @@ params.mechanical = struct(...
'DuctHeight', 171e-3, ...
'FlapZDistance', 98e-3, ... % flap distance along z from center of mass
'InertiaTensor', J, ...
- 'GyroscopicInertiaZ', J_prop ... % assume small angle
+ 'GyroscopicInertiaZ', J_prop, ... % assume small angle
+ 'GyroscopicInertiaZUncertainty', .01 ... % in %
);
% ------------------------------------------------------------------------
@@ -84,9 +86,13 @@ k_T = F_max / omega_max^2;
% https://scienceworld.wolfram.com/physics/LiftCoefficient.html
params.aerodynamics = struct(...
'ThrustOmegaProp', k_T, ... % in s^2 / (rad * N)
+ 'ThrustOmegaPropUncertainty', .05, ... % in %
'FlapArea', 23e-3 * 10e-3, ... % in m^2
+ 'FlapAreaUncertainty', .01, ... % in %
'DragCoefficients', [1, .1], ... % TODO
- 'LiftCoefficient', 2 * pi ... % TODO
+ 'DragCoefficientsUncertainties', [.1, .1], ... % in %
+ 'LiftCoefficient', 2 * pi, ... % TODO
+ 'LiftCoefficientUncertainty', .1 ...% in %
);