HUD:

Path: AC/ACGraphics

% Implements a "heads-up-display". 

   If c is entered it will animate the controls when the mode is 'run',
   otherwise it will output the control values in h when the mode
   is 'run'. Can have helicopter or fixed-wing type controls.

   Since version 2 (ACT)
--------------------------------------------------------------------------
   Form:
   h = HUD( mode, g, x, h, c )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   mode        (1,:) 'run' or 'init'
   g                 .atmData        Atmospheric data
                     .atmUnits       Units
                     .type           'helicopter' or 'fixed wing'
   x                 State vector of type ACState or
                     x.v (3,1) velocity vector
                     x.h (1,1) altitude
                     x.e (3,1) Euler angles
   h           (:,:) Structure containing figure handles and control settings
                      .control
                       For a fixed wing this is
                       .rudder
                       .aileron
                       .elevator
                       .throttle
                       For a helicopter this is
                       .rudder
                       .lateralCyclic
                       .longitudinalCyclic
                       .collective
                       .throttle
   c           (:)   Initial control settings inputs and button definitions
                     For a fixed wing 
                     .control
                     .rudderMax             (1,1) Max rudder
                     .aileronMax            (1,1) Aileron max
                     .elevatorMax           (1,1) Elevator max
                     For a helicopter 
                     .control
                     .rudderMax             (1,1) Max rudder
                     .lateralCyclicMax      (1,1) Lateral Cyclic max
                     .longitudinalCyclicMax (1,1) Longitudinal Cyclic max
                     .collectiveMax         (1,1) Collective max
                   

   -------
   Outputs
   -------
   h           (:)    Figure handles and outputs
                      .control

--------------------------------------------------------------------------

Children:

AC: ACCoord/AlphBeta
AC: ACCoord/EulNED
AerospaceUtils: AeroData/AtmData
AerospaceUtils: AtmosphericCalculations/AirData
Common: Transform/Altitude

Back to the AC Module page