AP_NavEKF3: derivation: make generation slightly easier
Add a shell script to run the generate_1.py file. Foresight tells us that we will need multiple such files. Also ignore the generated code files as they are already out of date and we are aiming to document provenance and make them unnecessary anyway.
This commit is contained in:
parent
c880bf57cd
commit
57082257fd
1
libraries/AP_NavEKF3/derivation/.gitignore
vendored
Normal file
1
libraries/AP_NavEKF3/derivation/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
generated/*.cpp
|
7
libraries/AP_NavEKF3/derivation/generate.sh
Executable file
7
libraries/AP_NavEKF3/derivation/generate.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
rm -rf generated # ensure generated directory exists and is empty
|
||||
mkdir -p generated
|
||||
|
||||
./generate_1.py
|
Loading…
Reference in New Issue
Block a user