2013-09-07 12:17:27 +02:00
|
|
|
#!nsh
|
2015-07-29 19:21:31 +02:00
|
|
|
#
|
2017-07-08 19:15:56 -04:00
|
|
|
# @name Standard Plane
|
2015-07-29 19:21:31 +02:00
|
|
|
#
|
|
|
|
|
# @type Standard Plane
|
2017-06-27 08:49:10 +02:00
|
|
|
# @class Plane
|
2015-07-29 19:21:31 +02:00
|
|
|
#
|
|
|
|
|
# @output MAIN1 aileron
|
|
|
|
|
# @output MAIN2 elevator
|
2017-07-09 16:36:44 -04:00
|
|
|
# @output MAIN3 throttle
|
|
|
|
|
# @output MAIN4 rudder
|
2015-07-29 19:21:31 +02:00
|
|
|
# @output MAIN5 flaps
|
2017-07-08 11:50:48 +02:00
|
|
|
# @output MAIN6 gear
|
2015-07-29 19:21:31 +02:00
|
|
|
#
|
|
|
|
|
# @output AUX1 feed-through of RC AUX1 channel
|
|
|
|
|
# @output AUX2 feed-through of RC AUX2 channel
|
|
|
|
|
# @output AUX3 feed-through of RC AUX3 channel
|
|
|
|
|
#
|
|
|
|
|
# @maintainer Lorenz Meier <lorenz@px4.io>
|
|
|
|
|
#
|
2013-09-07 12:17:27 +02:00
|
|
|
|
2014-02-07 23:13:12 +01:00
|
|
|
sh /etc/init.d/rc.fw_defaults
|
2013-09-07 12:17:27 +02:00
|
|
|
|
2018-09-27 11:11:12 +02:00
|
|
|
if [ $AUTOCNF = yes ]
|
2018-08-04 11:15:50 -06:00
|
|
|
then
|
|
|
|
|
param set PWM_AUX_RATE 50
|
|
|
|
|
param set PWM_RATE 50
|
|
|
|
|
fi
|
2015-09-30 10:55:13 +02:00
|
|
|
|
2018-08-04 11:15:50 -06:00
|
|
|
set MIXER AETRFG
|
2017-07-08 19:15:56 -04:00
|
|
|
|
2018-08-22 19:17:26 -06:00
|
|
|
# Rate must be set by group (see pwm info).
|
|
|
|
|
# Throttle is in the same group as servos.
|