Path: FormationFlying/Software
% DFF attitude maneuver planning
 This routine performs attitude maneuver planning. It takes a target as input
 and computes the required maneuver. The target quaternion that is output is
 found by computing the axis and single angle of rotation that will achieve the
 target. Given that quaternion, only a small angular deviation is used each
 step. Thus, the target is ramped up to prevent problems with the PID
 controller.
 Possible targets are
  'latlon'  - Point a vector at a latitude and longitude on the earth
  'sun'     - Point a vector at the sun
  'lvlh'    - Align body axes with LVLH
  'eci'     - Align body axes with ECI
  'ulvlh'   - Align a vector with a vector defined in LVLH
  'target'  - Point at a target in the ECI frame
  'ueci'    - Align a vector with a vector defined in ECI
------------------------------------------------------------------------
   Form:
   t = DFFAttitudeManeuver( action, d, k )
------------------------------------------------------------------------
   ------
   Inputs
   ------
   action        (1,:)     Action to be performed        
   d             (1,1)     Data structure for inputs
   k             (1,1)     Unique spacecraft identifier
   -------
   Outputs
   -------
   t             (1,1)     Data structure with outputs. Valid only
                           with action 'update' and 'get telemetry'
------------------------------------------------------------------------
AC: ACData/ACTConstants AerospaceUtils: Coord/LatLonToR AerospaceUtils: Coord/QLVLH FormationFlying: IntegratedSim/DFFAttitudeTarget IntegratedSim: DefaultData/DefaultTankData IntegratedSim: DefaultData/ParameterUploadDictionary IntegratedSim: DefaultData/SpacecraftParameters IntegratedSim: DefaultData/TelemetryDictionary IntegratedSim: Sensors/StateSensor IntegratedSim: Software/DFFParameterDatabase IntegratedSim: Software/DFFRelativeNavigation FormationFlying: Utility/JD2SS1970 Plotting: Help/HelpSystem SC: Ephem/EOfE SC: Ephem/EarthNut SC: Ephem/EarthPre SC: Ephem/EarthRot SC: Ephem/GMSTime SC: Ephem/MSidDay SC: Ephem/NutDelta SC: Ephem/ObOfE SC: Ephem/SunV1 SC: Ephem/TruEarth SC: SCData/sCTConstants Common: CommonData/Constants Common: CommonData/Sosumi Common: CommonData/SwooshWatermark Common: CommonData/xSplashSmall Common: Database/Constant Common: GUIs/MessageQueue Common: General/CellToMat Common: General/CloseFigure Common: General/DeBlankLT Common: General/DeleteCell Common: General/FSWClock Common: General/ListCases Common: General/MatToCell Common: General/StringMatch Common: General/Watermark Common: Graphics/Axis3D Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Mat2Q Common: Quaternion/QForm Common: Quaternion/QMult Common: Quaternion/QTForm Common: Quaternion/QUnit Common: Quaternion/U2Q Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2000 Common: Time/JD2T Common: Time/JDToMidnight Math: Geometry/Perpendicular Math: Integration/RK4TI Math: Linear/Cross Math: Linear/Dot Math: Linear/DupVect Math: Linear/Mag Math: Linear/Unit Math: MathUtils/R2P5 Math: Trigonometry/CosD Math: Trigonometry/SinD
Back to the FormationFlying Module page