Path: SC/Attitude
% Computes the skew angle for a single dipole used to control yaw and roll. The x-axis is assumed to be the roll axis and the z-axis is assumed to be the yaw axis. The y-axis is along orbit anti-normal. Since version 1. -------------------------------------------------------------------------- Form: [theta, mDipole, m] = SkewDipl( b, tRoll, tYaw ) -------------------------------------------------------------------------- ------ Inputs ------ b (3,1) Magnetic field vector (T) tRoll (1,1) Maximum roll torque (N) tYaw (1,1) Maximum yaw torque (N) ------- Outputs ------- theta (1,1) Positive angle (about +y) of the dipole taken from +x (deg) mDipole (1,1) Dipole magnitude (ATM^2) m (3,1) Dipole unit vector --------------------------------------------------------------------------
Math: Linear/Unit
Back to the SC Module page