Description
A rigid spacecraft is subjected to gravity gradient torque while it revolves
around an eccentric orbit.
Inputs
Ixx, Iyy, Izz Principal moments of inertia (kg
m2)
e Eccentricity
Initial Condition
w1, w2, w3: Spacecraft angular velocities
q1, q2, q3, q4: Quaternions