ardupilot/libraries/AP_Declination/generate
Andrew Tridgell f232fc551b AP_Declination: added a test suite for AP_Declination
use test vectors from MAVProxy mavextra
2021-09-10 14:08:46 +09:00
..
README.md AP_Declination: added generator doc 2019-04-09 10:12:14 +10:00
generate.py AP_Declination: update generate script 2019-12-24 11:33:10 +11:00
testvectors.py AP_Declination: added a test suite for AP_Declination 2021-09-10 14:08:46 +09:00

README.md

Declination Table Generator

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

python3 -m pip install --user igrf12

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