mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Dodeca mixer using the AUX channels (#7532)
* Added Dodecarotor Mixer * fixed formatting style * Renamed dodeca mixers to top and bottom
This commit is contained in:
51
ROMFS/px4fmu_common/init.d/24001_dodeca_cox
Normal file
51
ROMFS/px4fmu_common/init.d/24001_dodeca_cox
Normal file
@@ -0,0 +1,51 @@
|
||||
#!nsh
|
||||
#
|
||||
# @name Generic Dodecarotor cox geometry
|
||||
#
|
||||
# @type Dodecarotor cox
|
||||
# @class Copter
|
||||
#
|
||||
# @output MAIN1 motor 1
|
||||
# @output MAIN2 motor 2
|
||||
# @output MAIN3 motor 3
|
||||
# @output MAIN4 motor 4
|
||||
# @output MAIN5 motor 5
|
||||
# @output MAIN6 motor 6
|
||||
#
|
||||
# @output AUX1 motor 7
|
||||
# @output AUX2 motor 8
|
||||
# @output AUX3 motor 9
|
||||
# @output AUX4 motor 10
|
||||
# @output AUX5 motor 11
|
||||
# @output AUX6 motor 12
|
||||
#
|
||||
# @maintainer Ian McNanie <ianmcnanie@gmail.com>
|
||||
# @maintainer William Peale <develop707@gmail.com>
|
||||
#
|
||||
|
||||
set VEHICLE_TYPE mc
|
||||
|
||||
if [ $AUTOCNF == yes ]
|
||||
then
|
||||
param set NAV_ACC_RAD 2.0
|
||||
param set RTL_RETURN_ALT 30.0
|
||||
param set RTL_DESCEND_ALT 10.0
|
||||
param set PWM_MIN 1075
|
||||
param set PWM_MAX 1950
|
||||
param set PWM_RATE 400
|
||||
|
||||
param set RTL_LAND_DELAY 0
|
||||
fi
|
||||
|
||||
set PWM_AUX_RATE 400
|
||||
# Note: May Have to set these parameters manually. They don't appear to save.
|
||||
set PWM_AUX_DISARMED 900
|
||||
param set PWM_AUX_MIN 1075
|
||||
param set PWM_AUX_MAX 1950
|
||||
|
||||
set MIXER dodeca_top_cox
|
||||
set MIXER_AUX dodeca_bottom_cox
|
||||
|
||||
# Need to set all 8 channels
|
||||
set PWM_OUT 12345678
|
||||
set PWM_AUX_OUT 123456
|
||||
Reference in New Issue
Block a user