Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
pprz_geodetic_wmm2015.h File Reference

WMM2015 Geomagnetic field model. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WMM2015_FRAC   2
 
#define N_MAX_OF_GH   12
 
#define GEO_EPOCH   2015.
 
#define YR_MIN   2015.
 
#define YR_MAX   2020.
 
#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.14285
 
#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 []
 

Detailed Description

WMM2015 Geomagnetic field model.

Based on the WMM2015 model (http://www.ngdc.noaa.gov/geomag/models.shtml)

Definition in file pprz_geodetic_wmm2015.h.