Path: Orbit/RHSOrbit
% RHS for 2D polar orbit The tangential and radial components of acceleration are throttled independently. Default data structure is for Pluto. u is the radial direction and v is the tangent direction. -------------------------------------------------------------------------- Form: xDot = RHS2DPolarOrbit( x, t, d ) -------------------------------------------------------------------------- ------ Inputs ------ x (4,1) [r;u;v;theta] [km;km/s;km/s;rad/s] t (1,1) Time (s) (unused) d (.) Data structure describing spacecraft model .a (2,1) Throttle -1 to 1 in [u;v] .mu (1,1) Gravitational parameter (km^3/s^2) .aMax (1,1) Maximum acceleration (km/s^2) ------- Outputs ------- xDot (4,1) [rDot;uDot;vDot;thetaDot] [km;km/s;km/s;rad/s]/s -------------------------------------------------------------------------- Reference: Bryson, A, and Ho Yu-Chi, "Applied Optimal Control", Hemisphere, p 67. --------------------------------------------------------------------------
Back to the Orbit Module page