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.
|
|
|
#!nsh
|
|
|
|
|
|
|
|
set VEHICLE_TYPE fw
|
|
|
|
|
|
|
|
if [ $AUTOCNF == yes ]
|
|
|
|
then
|
|
|
|
#
|
|
|
|
# Default parameters for FW
|
|
|
|
#
|
|
|
|
param set RTL_RETURN_ALT 100
|
|
|
|
param set RTL_DESCEND_ALT 100
|
|
|
|
param set RTL_LAND_DELAY -1
|
|
|
|
|
|
|
|
# FW uses L1 distance for acceptance radius
|
|
|
|
# set a smaller NAV_ACC_RAD for vertical acceptance distance
|
|
|
|
param set NAV_ACC_RAD 10
|
|
|
|
|
|
|
|
param set MIS_LTRMIN_ALT 25
|
|
|
|
param set MIS_TAKEOFF_ALT 25
|
|
|
|
fi
|
|
|
|
|
|
|
|
# This is the gimbal pass mixer
|
|
|
|
set MIXER_AUX pass
|
|
|
|
set PWM_AUX_RATE 50
|
|
|
|
set PWM_AUX_OUT 1234
|