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
geo_mag.c File Reference

Calculation of the Geomagnetic field vector based on current GPS fix. More...

+ Include dependency graph for geo_mag.c:

Go to the source code of this file.

Functions

void geo_mag_init (void)
 
void geo_mag_periodic (void)
 
void geo_mag_event (void)
 

Variables

bool_t geo_mag_calc_flag
 
struct GeoMagVect geo_mag_vect
 

Detailed Description

Calculation of the Geomagnetic field vector based on current GPS fix.

This module based on the WMM2010 modell (http://www.ngdc.noaa.gov/geomag/models.shtml).

Definition in file geo_mag.c.

Function Documentation

void geo_mag_init ( void  )

Definition at line 40 of file geo_mag.c.

References FALSE, geo_mag_calc_flag, geo_mag_vect, and GeoMagVect::ready.

void geo_mag_periodic ( void  )

Variable Documentation

bool_t geo_mag_calc_flag

Definition at line 37 of file geo_mag.c.

Referenced by geo_mag_event(), geo_mag_init(), and geo_mag_periodic().

struct GeoMagVect geo_mag_vect

Definition at line 38 of file geo_mag.c.

Referenced by geo_mag_event(), geo_mag_init(), and geo_mag_periodic().