SFShustr:
--------------------------------------------------------------------------
Computes the solution to the attitude determination problem using
Schuster's single frame method. Uses sun angles, dihedral angles
and chordwidths.
Requires the corresponding sun vectors and nadir vectors.
--------------------------------------------------------------------------
Form:
[ra, dec, rd] = SFShustr( usun, unadir, sa, tle, tte, cant, eradius,
spinrate, threshold, dihedral )
--------------------------------------------------------------------------
------
Inputs
------
usun (3,n) Unit sun vector
unadir (3,n) Unit nadir vectors
sa (1,n) The angle between the sun line and the spin axis
tle Leading edge times
tte Trailing edge time
cant Cant angle (rad)
eradius (1,n) Angular radius of the rearth (rad)
spinrate Spin rate (rad/sec)
threshold Threshold chord width (rad)
dihedral Dihedral angle of hsa (rad)
-------
Outputs
-------
ra Right ascension of the spin axis
dec Declination of the spin axis
rd (2,n) [Right Ascension;Declination] vector
--------------------------------------------------------------------------
References: Shuster, M.D., Efficient Algorithms for Spin-Axis Attitude
Determination, The Journal of the Astronautical Sciences,
Vol. XXXI, No. 2, April-June, 1983, pp. 237-249.
--------------------------------------------------------------------------
Children:
AeroUtils: Coord/U2RADec
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Math: Linear/Unit