Path: AC/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.
--------------------------------------------------------------------------
Since version 2.0 (ACT)
--------------------------------------------------------------------------
AC: ACCoord/AlphBeta AC: ACCoord/ECIToNED AC: ACCoord/QECI AC: ACData/ACTConstants 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 AerospaceUtils: AeroData/AtmData AerospaceUtils: AtmosphericCalculations/AirData AerospaceUtils: Coord/QIToBDot SC: SCData/sCTConstants Common: Atmosphere/StdAtm 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: CommonData/Constants Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Control/Append Common: Control/C2DZOH Common: Control/Parallel Common: Control/Series Common: Control/SizeABCD Common: Database/Constant Common: GUIs/TimeGUI Common: General/CellToMat Common: General/CloseIfHandle Common: General/DeBlankLT Common: General/DeleteCell Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Mat2Q Common: Quaternion/Q2Eul Common: Quaternion/Q2Mat Common: Quaternion/QForm Common: Quaternion/QMult Common: Quaternion/QPose Common: Quaternion/QTForm Common: Quaternion/QUnit Common: Transform/Altitude Common: Transform/Eul2Q Common: Transform/IConv Common: Transform/Mat2Eul Common: Transform/TranslateAxes Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/SkewSymm Math: Linear/Unit
Back to the AC Module page