From 734ee9e826b490137e3d8af627019098cafa1403 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 4 Apr 2024 20:12:32 +0200 Subject: Move uncertain model design into uav_model and add more design parameter --- uav_params.m | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'uav_params.m') diff --git a/uav_params.m b/uav_params.m index 3ceda9e..0e82148 100644 --- a/uav_params.m +++ b/uav_params.m @@ -1,5 +1,5 @@ % Copyright (C) 2024, Naoki Sean Pross, ETH Zürich -% +% % Retrieve / compute parameters for UAV. function [params] = uav_params() @@ -34,16 +34,20 @@ params.mechanical = struct(... ); % ------------------------------------------------------------------------ -% Actuator limits +% Actuator limits and measurements % Cheap servos usually give a "speed" in seconds / 60 degrees without load servo_speed = 0.19; % seconds per 60 deg servo_angular_velocity = (pi / 3) / servo_speed; params.actuators = struct(... - 'TurbineMaxSpeed', 620.7, ... % In Hz - 'ServoAbsMaxAngleDeg', 25, ... % in Degrees - 'ServoNominalAngularVelocity', servo_angular_velocity, ... + 'TurbineMaxSpeed', 620.7, ... % in rad / s + 'ServoAbsMaxAngle', 25 * pi / 180, ... % in radians + 'ServoNominalAngularVelocity', servo_angular_velocity ... +); + +params.measurements = struct(... + 'SensorFusionBandwidth', 1e3, ... 'MeasurementDelay', 8e-3 ... % delay caused by sensor fusion algorithm ); @@ -87,7 +91,8 @@ params.linearization = struct(... % Performance requirements params.performance = struct(... - 'MaxHorizontalSpeed', 1, ... + 'MaxHorizontalSpeed', 1e-2, ... % in m / s + 'MaxVerticalSpeed', 5e-2 ... % in m / s ); end -- cgit v1.2.1