dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
worldmagmodel.cpp File Reference

Utilities to find the location of openpilot GCS files: More...

Go to the source code of this file.

Namespaces

 Utils
 

Variables

const double CoeffFile [91][6] = COEFFS_FROM_NASA
 

Detailed Description

Utilities to find the location of openpilot GCS files:

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
Tau Labs, http://taulabs.org, Copyright (C) 2013
  • Plugins Share directory path

Source file for the World Magnetic Model This is a port of code available from the US NOAA.

The hard coded coefficients should be valid until 2020.

Updated coeffs from .. http://www.ngdc.noaa.gov/geomag/WMM/wmm_ddownload.shtml

NASA C source code .. http://www.ngdc.noaa.gov/geomag/WMM/wmm_wdownload.shtml

Major changes include:

  • No geoid model (altitude must be geodetic WGS-84)
  • Floating point calculation (not double precision)
  • Hard coded coefficients for model
  • Elimination of user interface
  • Elimination of dynamic memory allocation
See Also
The GNU Public License (GPL) Version 3

Definition in file worldmagmodel.cpp.

Variable Documentation

const double CoeffFile[91][6] = COEFFS_FROM_NASA

Definition at line 58 of file worldmagmodel.cpp.