RigidBodyDemo:

Path: AC/Demos/Aircraft

% Simulate the linear and angular states of a rigid body using "AC.m" 

   Four different geometries are available to choose from. 
   A rotor may be included or omitted.

   The motion is simulated using two different cases. 
     case 0   --    The origin of the body frame coincides with the CG
     case 1   --    The origin of the body frame is translated to a non-CG 
                    point

   The inertias for case 0 and case 1 are different, according to the 
   parallel axis theorem. 

   The initial angular velocity is different for each case IF the inertia 
   matrix has non-zero off-diagonal terms.

   No aerodynamic forces or torques are considered.

   VERIFICATION
   ============

   * The trajectories of both the CG and a non-CG point on the body are 
     computed for each case, and the errors are plotted. 

   * The total angular momentum (body + rotors) is plotted. 
     It should be constant.

  -------------------------------------------------------------------------
  See also QECI, AC, ACInit, @acstate/acstate.m, IConv, QTForm, 
  TranslateAxes, Constant, TimeGUI, Cross, Dot, Mag, SkewSymm, Unit
  -------------------------------------------------------------------------
%
--------------------------------------------------------------------------
    Copyright 2003 Princeton Satellite Systems, Inc.
    All rights reserved.
--------------------------------------------------------------------------

Children:

AC: ACCoord/QECI
AC: ACDynamics/AC
AC: ACDynamics/ACInit
AC: Classes/@acstate/abs.m
AC: Classes/@acstate/acstate.m
AC: Classes/@acstate/get.m
AC: Classes/@acstate/length.m
AC: Classes/@acstate/minus.m
AC: Classes/@acstate/mrdivide.m
AC: Classes/@acstate/mtimes.m
AC: Classes/@acstate/plus.m
AC: Classes/@acstate/subsasgn.m
AC: Classes/@acstate/subsref.m
AC: Classes/@acstate/zeros.m
Common: Database/Constant
Common: Graphics/TimeGUI
Common: Quaternion/QTForm
Common: Transform/IConv
Common: Transform/TranslateAxes
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/Mag
Math: Linear/SkewSymm
Math: Linear/Unit

Back to the AC Module page