You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
616 B
28 lines
616 B
6 years ago
|
#!/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
|