hwh

  • *
  • 1018
World Mag Model is out of date
« on: December 13, 2015, 10:11:35 am »
It appears that the world mag model in LibrePilot is out of date.   New data is released by NOAA about every 5 years. The data in flight/libraries/WorldMagModel.c expired at the end of 2014.  The new one was issued by NOAA on 15 Dec 2014.  The official download url is in the .c file.

Since the NOAA distribution format is different from what we use it would probably be easiest to copy the table from TauLabs.  They moved it from the .c file to shared/api/physical_constants.h


f5soh

  • *****
  • 4572
    • LibrePilot
Re: World Mag Model is out of date
« Reply #1 on: December 13, 2015, 12:21:16 pm »
Good catch :)

Can you open a JIRA ticket for this issue ? Done...
https://librepilot.atlassian.net/
« Last Edit: December 13, 2015, 12:57:41 pm by f5soh »