From 0f7281fbb6a6167534f54ce99b1edc648a692739 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 9 Apr 2019 10:12:14 +1000 Subject: [PATCH] AP_Declination: added generator doc --- libraries/AP_Declination/generate/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libraries/AP_Declination/generate/README.md diff --git a/libraries/AP_Declination/generate/README.md b/libraries/AP_Declination/generate/README.md new file mode 100644 index 0000000000..89029986f4 --- /dev/null +++ b/libraries/AP_Declination/generate/README.md @@ -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