Spacecraft Control Framework 1.0
Spacecraft Control Library
sc_orbit_mnvr.h
Go to the documentation of this file.
1/*
2 * orbit_mnvr.h
3 *
4 * Programmers: Mike Paluszek, Stephanie Thomas
5 *20141999-2006, Princeton Satellite Systems. All rights reserved.
6 *
7 * Orbit maneuver functions. Primarily orbit mechanics.
8 */
9
16#ifndef __SC_ORBIT_MNVR__
17#define __SC_ORBIT_MNVR__
18
19#ifdef AS_OS_WINDOWS
20#include "matrixlib.h"
21#else
22#include <MatrixLib/MatrixLib.h>
23#endif
24
25#include "sc_constants.h"
26
29extern "C++"
30{
31
33 typedef struct lambert_out {
34 ml_matrix vT;
35 double a;
36 double p;
37 double tol;
39
40
42 lambert_out lambert_tof( const ml_matrix& r1,const ml_matrix& r2, double dT, int orbitType = 1, double mu = 3.98600436e5, double tol = 1e-10, int maxIter = 20 );
43
44}
46
47#endif
lambert_out lambert_tof(const ml_matrix &r1, const ml_matrix &r2, double dT, int orbitType=1, double mu=3.98600436e5, double tol=1e-10, int maxIter=20)
Solves the Lambert time of flight problem using Battin's method.
Definition: sc_orbit_mnvr.cc:58
struct lambert_out lambert_out
Structure for storing the data output the Lambert TOF solver.
Physical and mathematical constants.
Structure for storing the data output the Lambert TOF solver.
Definition: sc_orbit_mnvr.h:33
ml_matrix vT
Transfer velocity.
Definition: sc_orbit_mnvr.h:34
double a
Semi-major axis of the trajectory.
Definition: sc_orbit_mnvr.h:35
double p
The parameter for the orbit.
Definition: sc_orbit_mnvr.h:36
double tol
Achieved tolerance.
Definition: sc_orbit_mnvr.h:37