WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
planetrelutils.h File Reference
#include "types.h"
#include "core/CartesianVector.hpp"
#include "core/mathmacros.h"
#include "dynamics/DCM.h"
#include "core/safemath.h"

Go to the source code of this file.

Namespaces

namespace  warpos

Functions

int16 warpos::pcrToDeticLla (clockwerk::CartesianVector< 3 > pos__pcr, floating_point r_planet_equatorial, floating_point flattening, floating_point &lat_rad, floating_point &lon_rad, floating_point &alt)
 Function to calculate detic LLA from PCR state.
int16 warpos::llaDeticToPCR (double r_planet_equitorial, double flattening, double lat_rad, double lon_rad, double alt, clockwerk::CartesianVector< 3 > &pos__pcr)
 Function to return the PCR (planet centered rotating) position of an object from detic latitude, longitude, and altitude.
int16 warpos::llaDeticToPCR (float r_planet_equitorial, float flattening, float lat_rad, float lon_rad, float alt, clockwerk::CartesianVector< 3 > &pos__pcr)
clockwerk::DCM warpos::enuFromLatLonDetic (floating_point lat_rad, floating_point lon_rad)
 Function to calculate the East, North, Up frame attitude from detic lat and lon.
clockwerk::DCM warpos::nedFromLatLonDetic (floating_point lat_rad, floating_point lon_rad)
 Function to calculate the North, East, Down frame attitude from detic lat and lon.
int16 warpos::nedToLlaDetic (floating_point lat_origin_deg, floating_point lon_origin_deg, floating_point alt_origin, clockwerk::CartesianVector< 3 > pos__ned, floating_point r_planet_equatorial, floating_point flattening, floating_point &lat_deg, floating_point &lon_deg, floating_point &alt)
 Function to calculate detic LLA from NED position.