mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 23:33:35 +08:00
35 lines
696 B
Plaintext
35 lines
696 B
Plaintext
#!nsh
|
|
#
|
|
# @name Generic Quadrotor X config with mount (e.g. gimbal)
|
|
#
|
|
# @type Quadrotor x
|
|
#
|
|
#
|
|
# @output MAIN1 motor1 (front right: CCW)
|
|
# @output MAIN2 motor2 (back left: CCW)
|
|
# @output MAIN3 motor3 (front left: CW)
|
|
# @output MAIN4 motor4 (back right: CW)
|
|
# @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 mode
|
|
# @output AUX5 Mount retract
|
|
#
|
|
# @maintainer Leon Mueller <thedevleon>
|
|
#
|
|
|
|
sh /etc/init.d/rc.mc_defaults
|
|
|
|
set MIXER quad_x
|
|
set PWM_OUT 1234
|
|
|
|
set MIXER_AUX mount
|
|
set PWM_AUX_OUT 123456
|
|
set PWM_AUX_RATE 50
|
|
|
|
# Start mount driver
|
|
vmount start
|