Andrew Tridgell
6 years ago
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||||
|
# 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 |
Loading…
Reference in new issue