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.
39 lines
589 B
39 lines
589 B
8 years ago
|
#!nsh
|
||
|
#
|
||
|
# @name Generic Quadplane VTOL
|
||
|
#
|
||
|
# @type Standard VTOL
|
||
|
# @class VTOL
|
||
|
#
|
||
|
# @maintainer
|
||
|
#
|
||
|
# @output MAIN1 motor 1
|
||
|
# @output MAIN2 motor 2
|
||
|
# @output MAIN3 motor 3
|
||
|
# @output MAIN4 motor 4
|
||
|
# @output AUX1 Aileron 1
|
||
|
# @output AUX2 Aileron 2
|
||
|
# @output AUX3 Elevator
|
||
|
# @output AUX4 Rudder
|
||
|
# @output AUX5 Throttle
|
||
|
#
|
||
|
# @board px4fmu-v1 exclude
|
||
|
|
||
|
sh /etc/init.d/rc.vtol_defaults
|
||
|
|
||
|
if [ $AUTOCNF == yes ]
|
||
|
then
|
||
|
param set VT_TYPE 2
|
||
|
param set VT_MOT_COUNT 4
|
||
|
fi
|
||
|
|
||
|
set MIXER quad_x
|
||
|
set PWM_OUT 1234
|
||
|
set PWM_RATE 400
|
||
|
|
||
|
set MIXER_AUX vtol_AAERT
|
||
|
set PWM_ACHDIS 5
|
||
|
set PWM_AUX_DISARMED 950
|
||
|
|
||
|
set MAV_TYPE 22
|