ardupilot/libraries/AP_NavEKF3/derivation/generate.sh
Thomas Watson ef1c31bd50 AP_NavEKF3: document provenance of yaw fusion equations
Requires digging up old versions of the generator script.

The equations have been rearranged somewhat after generation to choose
the appropriate method but they do match overall. The auto-substitution
of the power functions caused slight changes to the generated syntax so
we make those to the real code as well.

Delete `yaw_generated.cpp` as we know exactly how to generate it now.
2024-10-01 09:28:54 +10:00

9 lines
160 B
Bash
Executable File

#!/usr/bin/env bash
cd "$(dirname "$0")"
rm -rf generated # ensure generated directory exists and is empty
mkdir -p generated
./generate_1.py
./generate_2.py