Spacecraft Control Framework 1.0
Spacecraft Control Library
sc_lambert.h
Go to the documentation of this file.
1/*
2 * sc_lambert.h
3 * SCControl
4 *
5 * Created by Stephanie Thomas on 6/29/10.
6 * Copyright 2010 Princeton Satellite Systems. All rights reserved.
7 */
8
15#ifndef __Lambert__
16#define __Lambert__
17
18#ifdef AS_OS_WINDOWS
19 #include "matrixlib.h"
20#else
21 #include <MatrixLib/MatrixLib.h>
22#endif
23#include "sc_orbit.h"
24
26typedef struct {
31} lambert;
32
33bool Target(double t0, double tTrans, const lambert d, ml_matrix& vTrans, ml_matrix& deltaV);
34ml_matrix Lambert( const ml_matrix& r1, const ml_matrix& r2, double dT, int tM, \
35 double mu, double& a, double& p, int maxIter = 10, double tol = 1e-10 );
36
37double Zeta( double x );
38double CubicRoot( double h1, double h2 );
39//int sign( double x );
40//double SLR( double e, double a );
41
42#endif
ml_matrix Lambert(const ml_matrix &r1, const ml_matrix &r2, double dT, int tM, double mu, double &a, double &p, int maxIter=10, double tol=1e-10)
Definition: sc_lambert.cc:77
bool Target(double t0, double tTrans, const lambert d, ml_matrix &vTrans, ml_matrix &deltaV)
Perform targeting between two orbits.
Definition: sc_lambert.cc:22
Orbit mechanics functions and types, including Keplerian, spherical and cartesian elements.
Lambert orbital element starting and ending set.
Definition: sc_lambert.h:26
orb_data_t el2
Element set 2.
Definition: sc_lambert.h:30
orb_data_t el1
Element set 1.
Definition: sc_lambert.h:28
Structure for storing orbit data.
Definition: sc_orbit.h:33