ardupilot/libraries/AP_Declination/generate
Andrew Tridgell d6c258e9d0 AP_Declination: update magnetic field tables
now using igrf13
2023-01-03 11:01:32 +11:00
..
README.md AP_Declination: update magnetic field tables 2023-01-03 11:01:32 +11:00
generate.py AP_Declination: update magnetic field tables 2023-01-03 11:01:32 +11:00
testvectors.py AP_Declination: added a test suite for AP_Declination 2021-09-03 14:45:17 +10:00

README.md

Declination Table Generator

To run the generator you need the igrf module. Install like this:

python3 -m pip install --user igrf

Note that python3 must be used.

Then cd to libraries/AP_Declination directory, and run:

python3 generate/generate.py

it will updates the tables.cpp code