Path: SCPro/DynamicalModels
% Computes disturbances for ThreeAxisControl.m
--------------------------------------------------------------------------
Form:
d = ThreeAxisControlDisturb;
[torque, force] = ThreeAxisControlDisturb( t, d, x )
--------------------------------------------------------------------------
-------
Inputs
-------
t ( 1,1) Time
d ( 1,1) Data structure for the simulation
.areaArray (1,1) Area of solar array
.areaBox (1,1) Area of the box face
.cM (3,1) Center-of-mass
.sigmaArray (1,4) [absorbed specular diffuse transmitted]
.sigmaBox (1.4) [absorbed specular diffuse transmitted]
.uSun (3,1) Sun unit vector in ECI frame
.force (3,1) Other force in body frame
.torque (3,1) Other torque in body frame
x (:,1) State [ECI position;ECI Velocity;quaternion;rate];
-------
Outputs
-------
force (3,1) Total force in ECI frame (N)
torque (3,1) Total torque in body frame (Nm)
--------------------------------------------------------------------------
SC: Disturbances/SolarF Common: Quaternion/QForm Common: Quaternion/QTForm Math: Linear/Cross Math: Linear/DupVect Math: Linear/Unit
Back to the SCPro Module page