Path: SC/Disturbances
% Gravity gradient for a rigid body with small offsets from LVLH. The spacecraft is aligned with LVLH with orbit rate is about the -y axis. This model is valid only for small angles about LVLH. -------------------------------------------------------------------------- Form: [xDot, tGG] = FGravityGradientStiffness( x, t, inertia, orbitRate ) -------------------------------------------------------------------------- ------ Inputs ------ x (6,1) [roll;pitch;yaw;xRate;yRate;zRate] t (1,1) Time (not used) inertia (3,3) Inertia matrix orbitRate (:,1) Orbit rate may be a scalar or vector ------- Outputs ------- xDot (6,1) State derivative tGG (3,1) Gravity gradient torque --------------------------------------------------------------------------
Math: Linear/Cross Math: Linear/Mag Math: Linear/Skew
Back to the SC Module page