Path: Orbit/Visualization
% Draw attitude frames. You can add these to any 3D picture. Draws and labels the ECI, LVLH, and Body frames. Also draws a sun vector using SunV1 for ephemeris. -------------------------------------------------------------------------- Form: AttitudeFrames( r, v, qECIToBody, jD, len ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,1) Position vector v (3,1) Position vector qECIToBody (4,1) ECI to body quaternion jD (1,1) Julian date len (1,1) Length of the axes ------- Outputs ------- None --------------------------------------------------------------------------
AerospaceUtils: Coord/QLVLH Common: Graphics/NewFig Common: Quaternion/Q2Mat Common: Quaternion/QPose Common: Quaternion/QRand Common: Time/JD2000 Math: Linear/Unit Math: Trigonometry/CosD Math: Trigonometry/SinD SC: Ephem/SunV1
Back to the Orbit Module page