Path: SCPro/DynamicalModels
% Right-hand-side of the spacecraft dynamical equations. This function includes position, orientation and 4 reaction wheels. It also includes time varying inertia. This right hand side is primarily to analyze control during deployment. -------------------------------------------------------------------------- ------- Inputs ------- x (:,1) State vector t (1,1) Time d (.) Data structure for the simulation .uRWA (3,4) Reaction wheel unit vectors .inrRWA (1,1) Reaction wheel inertia .tRWA (4,1) Reaction wheel torque .funIandD (1,:) Disturbance and inertia model .tExt (3,1) Other external torques ------- Outputs ------- xDot (:,1) State vector derivative --------------------------------------------------------------------------
AC: ACData/ACTConstants AerospaceUtils: Coord/QIToBDot SC: BasicOrbit/FOrbCart SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/xSplashSmall Common: Control/C2DZOH Common: Database/Constant Common: General/DeleteCell Math: Linear/Cross Math: Linear/Mag Math: Linear/SkewSymm
Back to the SCPro Module page