From a1b03ef55cfa3823ae20ed0142b05e667f439881 Mon Sep 17 00:00:00 2001 From: pip Date: Tue, 11 Jan 2011 15:45:16 +0000 Subject: [PATCH] Added http reference address for source of coeffs and c code for if and when new coeffs are required. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2383 ebee16cc-31ac-478f-84a7-5cbb03baadba --- flight/Libraries/WorldMagModel.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flight/Libraries/WorldMagModel.c b/flight/Libraries/WorldMagModel.c index 93c0a6b46..ea1924328 100644 --- a/flight/Libraries/WorldMagModel.c +++ b/flight/Libraries/WorldMagModel.c @@ -5,7 +5,15 @@ * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. * @brief 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 2015. + * + * 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)