Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pprz_geodetic_wmm2010.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WMM2010_FRAC   2
 
#define N_MAX_OF_GH   12
 
#define GEO_EPOCH   2010.
 
#define YR_MIN   2010.
 
#define YR_MAX   2015.
 
#define NMAX_1   12
 
#define NMAX_2   12
 
#define IEXT   0
 
#define EXT_COEFF1   (double)0
 
#define EXT_COEFF2   (double)0
 
#define EXT_COEFF3   (double)0
 
#define GPS_EPOCH_BEGIN   (double)1980.016393442623
 Begin of the GPS epoch. More...
 
#define GPS_EPOCH_YEAR   1980
 
#define GPS_EPOCH_MONTH   1
 
#define GPS_EPOCH_DAY   6
 
#define WEEKS_IN_YEAR   52.143
 
#define SECS_IN_YEAR   31536000
 
#define MAXDEG   13
 
#define MAXCOEFF   (MAXDEG*(MAXDEG+2)+1)
 

Functions

int16_t extrapsh (double date, double dte1, int16_t nmax1, int16_t nmax2, double *gh)
 
int16_t mag_calc (int16_t igdgc, double flat, double flon, double elev, int16_t nmax, double *gh, double *geo_mag_x, double *geo_mag_y, double *geo_mag_z, int16_t iext, double ext1, double ext2, double ext3)
 

Variables

const double gh1 []
 
const double gh2 []
 

Macro Definition Documentation

#define EXT_COEFF1   (double)0

Definition at line 23 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define EXT_COEFF2   (double)0

Definition at line 24 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define EXT_COEFF3   (double)0

Definition at line 25 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define GEO_EPOCH   2010.

Definition at line 16 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define GPS_EPOCH_BEGIN   (double)1980.016393442623

Begin of the GPS epoch.

Definition at line 28 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define GPS_EPOCH_DAY   6

Definition at line 31 of file pprz_geodetic_wmm2010.h.

#define GPS_EPOCH_MONTH   1

Definition at line 30 of file pprz_geodetic_wmm2010.h.

#define GPS_EPOCH_YEAR   1980

Definition at line 29 of file pprz_geodetic_wmm2010.h.

#define IEXT   0

Definition at line 22 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define MAXCOEFF   (MAXDEG*(MAXDEG+2)+1)

Definition at line 37 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define MAXDEG   13

Definition at line 36 of file pprz_geodetic_wmm2010.h.

#define N_MAX_OF_GH   12

Definition at line 13 of file pprz_geodetic_wmm2010.h.

#define NMAX_1   12

Definition at line 19 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define NMAX_2   12

Definition at line 20 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define SECS_IN_YEAR   31536000

Definition at line 34 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define WEEKS_IN_YEAR   52.143

Definition at line 33 of file pprz_geodetic_wmm2010.h.

Referenced by geo_mag_event().

#define WMM2010_FRAC   2

Definition at line 12 of file pprz_geodetic_wmm2010.h.

#define YR_MAX   2015.

Definition at line 18 of file pprz_geodetic_wmm2010.h.

#define YR_MIN   2010.

Definition at line 17 of file pprz_geodetic_wmm2010.h.

Function Documentation

int16_t extrapsh ( double  date,
double  dte1,
int16_t  nmax1,
int16_t  nmax2,
double *  gh 
)

Definition at line 42 of file pprz_geodetic_wmm2010.c.

References gh1, and gh2.

Referenced by geo_mag_event().

+ Here is the caller graph for this function:

int16_t mag_calc ( int16_t  igdgc,
double  flat,
double  flon,
double  elev,
int16_t  nmax,
double *  gh,
double *  geo_mag_x,
double *  geo_mag_y,
double *  geo_mag_z,
int16_t  iext,
double  ext1,
double  ext2,
double  ext3 
)

Definition at line 84 of file pprz_geodetic_wmm2010.c.

References Int32Mat33::m.

Referenced by geo_mag_event().

+ Here is the caller graph for this function:

Variable Documentation

const double gh1[]

Definition at line 12 of file pprz_geodetic_wmm2010.c.

Referenced by extrapsh().

const double gh2[]

Definition at line 27 of file pprz_geodetic_wmm2010.c.

Referenced by extrapsh().