Path: FormationFlying/Software
% DFF attitude control routine. This routine implements attitude control for the DFF system. PID controllers are used for attitude control - momentum control is not used. The torque command is applied directly in the simulation, without the use of an RWA model. Provision is made for filters of arbitrary order for loop shaping. Inputs are the target quaternion and the true quaternion. Small angles are computed from the two quaternions. The target quaternion should be near the true quaternion for best results. If there are no inputs it will perform a self-test. ------------------------------------------------------------------------ Form: t = DFFAttitudeController( action, d, k ) ------------------------------------------------------------------------ ------ Inputs ------ action (1,:) Action to be performed d (.) Data structure for inputs k (1,1) Unique spacecraft identifier ------- Outputs ------- t (.) 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/DFFAttitudeManeuver 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: Control/C2DZOH Common: Control/C2DelZOH Common: Control/FResp Common: Control/GND Common: Control/GSS Common: Control/ND2SS Common: Control/PIDMIMO Common: Control/S2Damp Common: Control/SS2ND Common: Control/SizeABCD Common: Control/TrnsZero Common: Control/WPZ Common: Control/WReson Common: Control/ZFresp 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/LogLimit Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle Common: Graphics/TextS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/AU2Q Common: Quaternion/Mat2Q Common: Quaternion/Q2AU Common: Quaternion/QForm Common: Quaternion/QMult Common: Quaternion/QPose 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/ColCompR Math: Linear/Cross Math: Linear/DelLZ Math: Linear/Dot Math: Linear/DupVect Math: Linear/IsZero Math: Linear/Mag Math: Linear/RowCompU Math: Linear/Unit Math: MathUtils/R2P5 Math: Trigonometry/CosD Math: Trigonometry/DeltCirc Math: Trigonometry/SinD
Back to the FormationFlying Module page