Path: SCPro/DynamicalModels
% Right hand side of a rigid body with offset CM The reference center is not the center of mass. The state vector is [position;velocity;quaternion;angular rate] -------------------------------------------------------------------------- Form: d = RHSRigidBodyOffsetCM xDot = RHSRigidBodyOffsetCM( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (13,1) [r;v;q;w] t (1,1) Time (not used) d (1,1) Data structure .mu (1,1) Gravitational parameter .f (3,1) Force vectors in ECI frame .t (3,1) Torque vectors in body frame .c (3,1) Vector from center to cm .inr (3,3) Inertia matrix .m (1,1) Mass ------- Outputs ------- xDot (13,1) d[r;v;q;w]/dt --------------------------------------------------------------------------
AC: ACData/ACTConstants AerospaceUtils: Coord/QIToBDot SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/xSplashSmall Common: Control/C2DZOH Common: Database/Constant Common: General/DeleteCell Common: Quaternion/Q2Mat Math: Linear/Cross Math: Linear/Mag Math: Linear/Skew Math: Linear/SkewSymm
Back to the SCPro Module page