RHSSpacecraftWithIMU:

Path: SC/Dynamics

%  Right-hand-side for a spacecraft with an IMU 
 Right hand side for a spacecraft with an inertial measurement unit, orbit
 and attitude. The spacecraft is a rigid body orbiting around a point
 mass. Uses the IMU function for the dynamics of the random walk.

--------------------------------------------------------------------------
   Form:
      d = RHSSpacecraftWithIMU;   % default data structure
   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

--------------------------------------------------------------------------

Children:

AerospaceUtils: Coord/QIToBDot
SC: Sensor/IMU
Math: Linear/Cross
Math: Linear/Mag

Back to the SC Module page