Path: SC/Sensor
% Computes the hsa (horizon) sensor data for a spinning spacecraft.
This computes the time tags for a single sensor. You should include biases on
the cant angle, dihedral angle and earth width. A time delay can also be
entered. HSA is horizon sensor assembly.
--------------------------------------------------------------------------
Form:
[tle,tte,hew,sm] = HSAData(us, un, eradius, ua, spinrate, cant, dihedral,
quant, qtype, onesigma, delay)
--------------------------------------------------------------------------
------
Inputs
------
us (3,n) Unit sun vectors
un (3,n) Unit nadir vectors
eradius (n) Angular radius of the earth
ua (3,1) Unit spin axis vector
spinrate (1,1) Spin rate
cant (1,1) Cant angle (rad)
dihedral (1,1) Dihedral angle - between sun sensor and HSA (rad)
quant (1,1) Quantization
qtype (1,1) Type of quantization-either 'round' or 'truncate'
onesigma (1,1) One sigma noise (rad)
delay (1,1) Time delay
-------
Outputs
-------
tle (n) Leading edge times
tte (n) Trailing edge time
hew (n) Half chord width (rad)
sm (n) Dihedral angle (rad)
--------------------------------------------------------------------------
SC: BasicOrbit/RVFromKepler SC: Ephem/SunV1 Common: Graphics/Plot2D Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit
Back to the SC Module page