mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-09 08:04:14 -03:00
AP_Declination: added generator doc
This commit is contained in:
parent
e0fc73776c
commit
0f7281fbb6
13
libraries/AP_Declination/generate/README.md
Normal file
13
libraries/AP_Declination/generate/README.md
Normal file
@ -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
Block a user