Path: AerospaceUtils/Coord
% Finds a target on a planet. Given the current spacecraft location, r, the planet radius, rP, the velocity vector, v and the downrange distance (distance along an arc on surface) it computes the target point on the surface. Type TargetFromRPVD for a demo. -------------------------------------------------------------------------- Form: [rT,q] = TargetFromRPVD( r, rP, v, d ) -------------------------------------------------------------------------- ------ Inputs ------ r (3,1) Spacecraft location rP (1,1) Radius of planet v (3,1) Velocity vector d (1,1) Down range distance ------- Outputs ------- rT (3,1) Target point q (4,1) Quaternion to the target plane coordinate system --------------------------------------------------------------------------
Common: Quaternion/AU2Q Common: Quaternion/Mat2Q Common: Quaternion/QForm Math: Linear/Cross Math: Linear/Mag Math: Linear/Unit
Back to the AerospaceUtils Module page