Airship_KLat:

Path: Airships/Control

% The lateral-directional control laws for an airship.
--------------------------------------------------------------------------
   Form:
   d = Airship_KLat( action, data )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   action        (:)   String name of action to take. Choices are:
                          * 'init'        ...  Supply statespace controllers and 
                                                             initialize matrices
                          * 'update'      ...  Supply the error inputs and compute 
                                                                      the controls
                          * 'reset'       ...  Reset controller states to zero
   data          (.)   Data structure required for action
                          if action == 'init'
                             - data.k_rr  ...  statespace controller, 
                                                       r -to- rudder
                             - data.k_rv  ...  statespace controller, 
                                                       v -to- rudder
                             - data.k_ap  ...  statespace controller, 
                                                       p -to- aileron (diff flaps)
                             - data.rate  ...  update rate [Hz]
                          if action == 'update'
                             - data.p     ...  roll rate error         [rad/s]  
                             - data.r     ...  yaw rate error          [rad/s] 
                             - data.v     ...  lateral velocity error  [m/s] 

   -------
   Outputs
   -------
   d             (.)   Data structure of control outputs
                             - d.dRUD_sym ...  Symmetric rudder command      [rad]
                             - d.dAIL     ...  Aileron command (diff flaps)  [rad]

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

Children:

Airships: Control/AirshipControllers
Common: Classes/@statespace/and.m
Common: Classes/@statespace/close.m
Common: Classes/@statespace/connect.m
Common: Classes/@statespace/eig.m
Common: Classes/@statespace/get.m
Common: Classes/@statespace/getabcd.m
Common: Classes/@statespace/getsub.m
Common: Classes/@statespace/isempty.m
Common: Classes/@statespace/mtimes.m
Common: Classes/@statespace/plus.m
Common: Classes/@statespace/series.m
Common: Classes/@statespace/set.m
Common: Classes/@statespace/statespace.m
Common: Control/Append
Common: Control/C2DZOH
Common: Control/Parallel
Common: Control/Series
Common: Control/SizeABCD
Common: General/CellToMat

Back to the Airships Module page