Path: SCPro/DynamicalModels
% Right-hand-side for a spacecraft with an IMU Right hand side for a spacecraft with an inertial measurement unit. The spacecraft is a rigid body orbiting around a point mass. d = RHSSpacecraftWithIMU returns the default data structure. Uses the IMU function. -------------------------------------------------------------------------- Form: xDot = RHSSpacecraftWithIMU( x, ~, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (19,1) [r;v;q;omega;randomWalk] t (1,1) Time (unused) d (.) Data structure .inr (3,3) Inertia matrix (kg-m^2) .torque (3,1) Torque (Nm) .accel (3,1) Acceleration ECI (km/s^2) .mu (1,1) Gravity constant (km^3/s^2) .iMU (.) See IMU ------- Outputs ------- x (19,1) d[r;v;q;omega;randomWalk]/dt --------------------------------------------------------------------------
AerospaceUtils: Coord/QIToBDot SCPro: ProSensors/IMU Common: Control/C2DZOH Common: Quaternion/QForm Math: Linear/Cross Math: Linear/Mag Math: Linear/Skew Math: Linear/SkewSq Math: Linear/SkewSymm
Back to the SCPro Module page