Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
geo_mag.h File Reference

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

#include "std.h"
+ Include dependency graph for geo_mag.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GeoMagVect
 

Functions

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

Variables

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.h.

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

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().