Path: SpacecraftEstimation/OrbitEstimation
% Computes the right-hand-side of the orbit equations for OrbitKalmanFilter. Low-fidelity mode computes about a mass point, high-fidelity mode uses nonlinear orbit equations, planetary perturbations and modeled forces. Includes an onboard clock model. -------------------------------------------------------------------------- Form: xDot = FOrbKF( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (n,1) The state vector [r;v] or [r;v;b;f;...] t Time d (1,1) Data structure* .highFidelity (1,1) High fidelity flag .planetaryOn (1,1) Planetary accelerations flag .forcesOn (1,1) Disturbance force modeling .jD (1,1) Julian date .nZonal (1,1) Number of zonal harmonics .nTess (1,1) Number of tesseral harmonics .gravityModel (1,1) Gravity model struct .aExt (3,1) External acceleration, ex. thruster firings * Can be left empty for low-fidelity mode ------- Outputs ------- xDot (n,1) The derivative of the state vector --------------------------------------------------------------------------
Orbit: OrbitMechanics/AGravityC Orbit: OrbitMechanics/PlanetaryAccelerations SC: BasicOrbit/OrbRate SC: BasicOrbit/RV2A SC: Ephem/ECIToPlanet Math: Linear/Mag
Back to the SpacecraftEstimation Module page