mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 17:03:35 +08:00
28 lines
616 B
Bash
28 lines
616 B
Bash
#!/bin/sh
|
|
#
|
|
# KakuteF7 specific board defaults
|
|
#------------------------------------------------------------------------------
|
|
|
|
if param compare SYS_AUTOSTART 0
|
|
then
|
|
# Select the Generic 250 Racer by default
|
|
param set SYS_AUTOSTART 4050
|
|
set AUTOCNF yes
|
|
fi
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
# use the Q attitude estimator, it works w/o mag or GPS.
|
|
param set SYS_MC_EST_GROUP 3
|
|
param set ATT_ACC_COMP 0
|
|
param set ATT_W_ACC 0.4000
|
|
param set ATT_W_GYRO_BIAS 0.0000
|
|
|
|
param set SYS_HAS_MAG 0
|
|
|
|
# the startup tune is not great on a binary output buzzer, so disable it
|
|
param set CBRK_BUZZER 782090
|
|
fi
|
|
|
|
set LOGGER_BUF 30
|