2019-04-08 21:12:14 -03:00
|
|
|
# Declination Table Generator
|
|
|
|
|
2022-12-28 17:57:12 -04:00
|
|
|
To run the generator you need the igrf module. Install like this:
|
2019-04-08 21:12:14 -03:00
|
|
|
|
2022-12-28 17:57:12 -04:00
|
|
|
python3 -m pip install --user igrf
|
2019-04-08 21:12:14 -03:00
|
|
|
|
|
|
|
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
|