mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-08 13:40:35 +08:00
3ebf030a02
This was required for shellsheck.
35 lines
618 B
Bash
35 lines
618 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Generic Quadrotor x with mount (e.g. gimbal)
|
|
#
|
|
# @type Quadrotor x
|
|
# @class Copter
|
|
#
|
|
# @output MAIN1 motor 1
|
|
# @output MAIN2 motor 2
|
|
# @output MAIN3 motor 3
|
|
# @output MAIN4 motor 4
|
|
# @output MAIN5 feed-through of RC AUX1 channel
|
|
# @output MAIN6 feed-through of RC AUX2 channel
|
|
#
|
|
# @output AUX1 Mount pitch
|
|
# @output AUX2 Mount roll
|
|
# @output AUX3 Mount yaw
|
|
# @output AUX4 Mount retract
|
|
#
|
|
# @maintainer Leon Mueller <thedevleon>
|
|
#
|
|
|
|
sh /etc/init.d/rc.mc_defaults
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set PWM_AUX_RATE 50
|
|
fi
|
|
|
|
set MIXER quad_x
|
|
set PWM_OUT 1234
|
|
|
|
set MIXER_AUX mount
|
|
set PWM_AUX_OUT 123456
|