BuildParamMetaData.sh 307 Bytes
Newer Older
1
# Args: [ArduCopter|ArduPlane] [Copter.3.7|...]
2
cd ~/repos/ardupilot
3 4 5
rm -f apm.pdef.xml
./Tools/autotest/param_metadata/param_parse.py --vehicle $1
cp apm.pdef.xml ~/repos/qgroundcontrol/src/FirmwarePlugin/APM/APMParameterFactMetaData.$2.xml
6 7
rm apm.pdef.xml
cd ~/repos/qgroundcontrol/src/FirmwarePlugin/APM