Path: SC/Sensor
% Simulates an ideal earth sensor measuring roll and pitch. This generates roll and pitch angles based on the angle between the boresight and nadir. It does not model the physical mechanisms in earth sensors. Since version 1. -------------------------------------------------------------------------- Form: [roll, pitch] = ESA( qIToB, uBS, uPitch, nadir, limit, noise ) -------------------------------------------------------------------------- ------ Inputs ------ qIToB (4,1) Quaternion from the inertial to the body frame uBS (3,1) Boresight unit vector uPitch (3,1) Pitch Axis unit vector nadir (3,1) Nadir vector (ECI) limit (2,1) [roll;pitch] limits (rad) noise (2,1) [roll;pitch] noise (rad) ------- Outputs ------- roll Roll angle pitch Pitch angle --------------------------------------------------------------------------
Common: Quaternion/QForm Math: Linear/Cross Math: Linear/Unit
Back to the SC Module page