Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
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 from 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 from current GPS fix.

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

Definition in file geo_mag.h.

Function Documentation

void geo_mag_init ( void  )

Definition at line 39 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 37 of file geo_mag.c.

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