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: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DeBlankLT Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/PltStyle Common: Graphics/TimeLabl Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Time/DTSToDTA Common: Time/Date2JD Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the SC Module page