BoomQCRDemo:
% Demonstrate boom dynamics and control using TBModel/FTB functions.
Uses a simple external force and torque model to examine the effect of
the boom hinge torque. A state-space controller is designed using QCR.
The boom is nominally aligned with the body X axis.
Since version 7.
------------------------------------------------------------------------
xDot = FTB( x, t, r0, r1, lam1, iner0, iner1, m0, m1, torque, force, iAxis )
[wDot, h, iner] = TBModel( w0, w1, q0to1, r0, r1, lam1, iner0, iner1,
m0, m1, torque, force, iAxis )
------------------------------------------------------------------------
Cases:
1. boom x rotation - no torque on sail, as expected
2. boom y torque step response
3. boom z torque step response
4. state space controller. includes a sinusoidal disturbance on sail.
------------------------------------------------------------------------
See also: Jacobian, TBModel, FTB, and QCR, all from the SCT Core,
CrossSection, AU2Q, QTForm, QZero, Plot2D, RK4
------------------------------------------------------------------------
%
-------------------------------------------------------------------------------
Copyright (c) 2006 Princeton Satellite Systems, Inc.
All rights reserved.
-------------------------------------------------------------------------------
Children:
AeroUtils: CAD/CrossSection
Common: Control/QCR
Common: Graphics/Plot2D
Common: Quaternion/AU2Q
Common: Quaternion/QTForm
Common: Quaternion/QZero
Math: Analysis/Jacobian
Math: Integration/RK4
SC: Dynamics/FTB
SC: Dynamics/TBModel