Macros | Functions
ISEarth.c File Reference
#include <math.h>
#include "ISEarth.h"
Include dependency graph for ISEarth.c:

Go to the source code of this file.

Macros

#define _MATH_DEFINES_DEFINED
 
#define C_NEG_KT0_DIV_MG_F   -8.43466779922578000E+03f
 
#define C_NEG_MG_DIV_KT0_F   -1.18558314779367E-04f
 
#define E2xREQ   42697.67270717795
 
#define E2xREQdivIFE   42841.31151331153
 
#define E_SQ   0.006694379990141
 
#define GEQ   9.7803253359
 
#define K3_GRAV   3.0877e-6
 
#define K4_GRAV   4.0e-9
 
#define K5_GRAV   7.2e-14
 
#define K_GRAV   0.00193185265241
 
#define ONE_MINUS_F   0.996647189335253
 
#define POWA2   40680631590769.000
 
#define POWA2_F   40680631590769.000f
 
#define POWB2   40408299984661.453
 
#define POWB2_F   40408299984661.453f
 
#define REP   6356752.314245179
 
#define REQ   6378137.0
 

Functions

f_t baro2msl (f_t pKPa)
 
void ecef2lla (const double *Pe, double *LLA, const int Niter)
 
float gravity_igf80 (double lat, double alt)
 
void lla2ecef (const double *LLA, double *Pe)
 
void lla2ned (ixVector3 llaRef, ixVector3 lla, ixVector3 result)
 
void lla2ned_d (double llaRef[3], double lla[3], ixVector3 result)
 
void lla_Deg2Rad_d (double result[3], double lla[3])
 
void lla_Deg2Rad_d2 (double result[3], double lat, double lon, double alt)
 
void lla_Rad2Deg_d (double result[3], double lla[3])
 
void llaDeg2ned_d (double llaRef[3], double lla[3], ixVector3 result)
 
f_t llaDegDistance (double lla1[3], double lla2[3])
 
int llaDegValid (double lla[3])
 
f_t llaRadDistance (double lla1[3], double lla2[3])
 
void ned2DeltaLla (ixVector3 ned, ixVector3 llaRef, ixVector3 deltaLLA)
 
void ned2DeltaLla_d (ixVector3 ned, double llaRef[3], double deltaLLA[3])
 
void ned2DeltaLlaDeg_d (ixVector3 ned, double llaRef[3], double deltaLLA[3])
 
void ned2lla (ixVector3 ned, ixVector3 llaRef, ixVector3 result)
 
void ned2lla_d (ixVector3 ned, double llaRef[3], double result[3])
 
void ned2llaDeg_d (ixVector3 ned, double llaRef[3], double result[3])
 

Macro Definition Documentation

◆ _MATH_DEFINES_DEFINED

#define _MATH_DEFINES_DEFINED

Definition at line 13 of file ISEarth.c.

◆ C_NEG_KT0_DIV_MG_F

#define C_NEG_KT0_DIV_MG_F   -8.43466779922578000E+03f

Definition at line 26 of file ISEarth.c.

◆ C_NEG_MG_DIV_KT0_F

#define C_NEG_MG_DIV_KT0_F   -1.18558314779367E-04f

Definition at line 25 of file ISEarth.c.

◆ E2xREQ

#define E2xREQ   42697.67270717795

Definition at line 45 of file ISEarth.c.

◆ E2xREQdivIFE

#define E2xREQdivIFE   42841.31151331153

Definition at line 46 of file ISEarth.c.

◆ E_SQ

#define E_SQ   0.006694379990141

Definition at line 42 of file ISEarth.c.

◆ GEQ

#define GEQ   9.7803253359

Definition at line 47 of file ISEarth.c.

◆ K3_GRAV

#define K3_GRAV   3.0877e-6

Definition at line 49 of file ISEarth.c.

◆ K4_GRAV

#define K4_GRAV   4.0e-9

Definition at line 50 of file ISEarth.c.

◆ K5_GRAV

#define K5_GRAV   7.2e-14

Definition at line 51 of file ISEarth.c.

◆ K_GRAV

#define K_GRAV   0.00193185265241

Definition at line 48 of file ISEarth.c.

◆ ONE_MINUS_F

#define ONE_MINUS_F   0.996647189335253

Definition at line 41 of file ISEarth.c.

◆ POWA2

#define POWA2   40680631590769.000

Definition at line 36 of file ISEarth.c.

◆ POWA2_F

#define POWA2_F   40680631590769.000f

Definition at line 38 of file ISEarth.c.

◆ POWB2

#define POWB2   40408299984661.453

Definition at line 37 of file ISEarth.c.

◆ POWB2_F

#define POWB2_F   40408299984661.453f

Definition at line 39 of file ISEarth.c.

◆ REP

#define REP   6356752.314245179

Definition at line 44 of file ISEarth.c.

◆ REQ

#define REQ   6378137.0

Definition at line 43 of file ISEarth.c.

Function Documentation

◆ baro2msl()

f_t baro2msl ( f_t  pKPa)

Definition at line 251 of file ISEarth.c.

◆ ecef2lla()

void ecef2lla ( const double *  Pe,
double *  LLA,
const int  Niter 
)

Definition at line 54 of file ISEarth.c.

◆ gravity_igf80()

float gravity_igf80 ( double  lat,
double  alt 
)

Definition at line 352 of file ISEarth.c.

◆ lla2ecef()

void lla2ecef ( const double *  LLA,
double *  Pe 
)

Definition at line 91 of file ISEarth.c.

◆ lla2ned()

void lla2ned ( ixVector3  llaRef,
ixVector3  lla,
ixVector3  result 
)

Definition at line 123 of file ISEarth.c.

◆ lla2ned_d()

void lla2ned_d ( double  llaRef[3],
double  lla[3],
ixVector3  result 
)

Definition at line 147 of file ISEarth.c.

◆ lla_Deg2Rad_d()

void lla_Deg2Rad_d ( double  result[3],
double  lla[3] 
)

Definition at line 318 of file ISEarth.c.

◆ lla_Deg2Rad_d2()

void lla_Deg2Rad_d2 ( double  result[3],
double  lat,
double  lon,
double  alt 
)

Definition at line 325 of file ISEarth.c.

◆ lla_Rad2Deg_d()

void lla_Rad2Deg_d ( double  result[3],
double  lla[3] 
)

Definition at line 310 of file ISEarth.c.

◆ llaDeg2ned_d()

void llaDeg2ned_d ( double  llaRef[3],
double  lla[3],
ixVector3  result 
)

Definition at line 170 of file ISEarth.c.

◆ llaDegDistance()

f_t llaDegDistance ( double  lla1[3],
double  lla2[3] 
)

Definition at line 279 of file ISEarth.c.

◆ llaDegValid()

int llaDegValid ( double  lla[3])

Definition at line 337 of file ISEarth.c.

◆ llaRadDistance()

f_t llaRadDistance ( double  lla1[3],
double  lla2[3] 
)

Definition at line 265 of file ISEarth.c.

◆ ned2DeltaLla()

void ned2DeltaLla ( ixVector3  ned,
ixVector3  llaRef,
ixVector3  deltaLLA 
)

Definition at line 288 of file ISEarth.c.

◆ ned2DeltaLla_d()

void ned2DeltaLla_d ( ixVector3  ned,
double  llaRef[3],
double  deltaLLA[3] 
)

Definition at line 295 of file ISEarth.c.

◆ ned2DeltaLlaDeg_d()

void ned2DeltaLlaDeg_d ( ixVector3  ned,
double  llaRef[3],
double  deltaLLA[3] 
)

Definition at line 302 of file ISEarth.c.

◆ ned2lla()

void ned2lla ( ixVector3  ned,
ixVector3  llaRef,
ixVector3  result 
)

Definition at line 194 of file ISEarth.c.

◆ ned2lla_d()

void ned2lla_d ( ixVector3  ned,
double  llaRef[3],
double  result[3] 
)

Definition at line 213 of file ISEarth.c.

◆ ned2llaDeg_d()

void ned2llaDeg_d ( ixVector3  ned,
double  llaRef[3],
double  result[3] 
)

Definition at line 232 of file ISEarth.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:17:59