WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
orbitutils.h File Reference
#include "core/Matrix.hpp"
#include "core/CartesianVector.hpp"
#include "frames/Frame.h"
#include "dynamics/DCM.h"

Go to the source code of this file.

Namespaces

namespace  warptwin
 Class to propagate CR3BP dynamics in characteristic units.

Functions

double warptwin::true2eccentric (double true_anomaly)
 Convert true anomaly to eccentric anomaly.
int warptwin::rv2coe (const CartesianVector3 &pos, const CartesianVector3 &vel, double mu, CartesianVector6 &elements)
 Function to convert cartesian xyz pos/vel to orbital elements.
int warptwin::coe2rv (CartesianVector6 &elements, double mu, CartesianVector3 &pos, CartesianVector3 &vel)
 Function to convert orbital elements to cartesian xyz.
DCM warptwin::dcmPqr2Xyz (double i, double W, double w)
 Function to generate a 3-1-3 DCM to rotate from PQR to XYZ coordinates.
int warptwin::lvlhFrame (const CartesianVector3 &pos, const CartesianVector3 &vel, clockwerk::DCM &lvlh_frame, CartesianVector3 &lvlh_ang_vel__lvlh)
 Function to generate an LVLH frame attitude DCM from position and velocity.