Path: SC/GUIPlugIn
% Generate attitude profiles. -------------------------------------------------------------------------- Form: x = AttitudeProfilePlugIn( action, modifier, hFig, position, callback ) -------------------------------------------------------------------------- ------ Inputs ------ action (1,:) Action 'initialize', 'update' modifier (1,:) Modifier to the action or data structure if intialization hFig (1,1) Handle to the figure or if 'update' radio button handles position (1,4) [left bottom width height] callback (1,:) Callback string when something has changed in this gui ------- Outputs ------- x (1,1) The tag if action is 'initialize' else .nSamp (1,1) Number of samples .time (1,nSamp) Time from start .jD (1,nSamp) Julian date .rECI (3,nSamp) Position vector .vECI (3,nSamp) Velocity vector .angle (1,nSamp) Time from start .planet (1,:) Planet name .qECIToBody (4,nSamp) Quaternion .omega (3,nSamp) Angular rate -------------------------------------------------------------------------- Notes: There are six choices of attitude profile in the GUI: LVLH, ECI, sun-nadir, spinning, sun, and user-defined. The user-defined function takes two optional parameters and must have the following form: [qECIToBody,omega] = f( [rECI; vECI], jD, p1, p2 ); where rECI, vECI, and jD are arrays of length nSamp. --------------------------------------------------------------------------
ACPro: Help/HelpSystem AerospaceUtils: Coord/QLVLH Common: General/CloseFigure Common: General/IsVersionAfter Common: Plugins/TimePlugIn Common: Quaternion/Mat2Q Common: Quaternion/QForm Common: Quaternion/QMult Math: Linear/Cross Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit SC: BasicOrbit/RVFromKepler SC: Ephem/QSpin SC: Ephem/QSunNadir SC: Ephem/QSunPointing SC: Ephem/SunV1 SC: GUIPlugIn/ElementsPlugIn
Back to the SC Module page