forked from Archive/PX4-Autopilot
Better param PWM defaults for multicopter
This commit is contained in:
parent
fce8e3eb23
commit
3bb9dbba98
|
@ -7,32 +7,14 @@ then
|
|||
param set NAV_ACC_RAD 2.0
|
||||
param set RTL_RETURN_ALT 30.0
|
||||
param set RTL_DESCEND_ALT 10.0
|
||||
param set PWM_DISARMED 900
|
||||
param set PWM_MIN 1075
|
||||
param set PWM_MAX 1950
|
||||
param set PWM_RATE 400
|
||||
param set PWM_AUX_DISARMED 1500
|
||||
param set PWM_AUX_MIN 1000
|
||||
param set PWM_AUX_MAX 2000
|
||||
|
||||
param set RTL_LAND_DELAY 0
|
||||
fi
|
||||
|
||||
# tell the mixer to use parameters for these instead
|
||||
set PWM_RATE p:PWM_RATE
|
||||
set PWM_DISARMED p:PWM_DISARMED
|
||||
set PWM_MIN p:PWM_MIN
|
||||
set PWM_MAX p:PWM_MAX
|
||||
set PWM_AUX_DISARMED p:PWM_AUX_DISARMED
|
||||
set PWM_AUX_MIN p:PWM_AUX_MIN
|
||||
set PWM_AUX_MAX p:PWM_AUX_MAX
|
||||
|
||||
# This is the gimbal pass mixer
|
||||
set MIXER_AUX pass
|
||||
set PWM_AUX_RATE 50
|
||||
set PWM_AUX_OUT 1234
|
||||
|
||||
if param compare PWM_DISARMED 0
|
||||
then
|
||||
param set PWM_DISARMED 900
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue