CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_Declination/generate/README.md
Views: 1799

Declination Table Generator

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

python3 -m pip install --user igrf

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