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.
51 lines
1.0 KiB
51 lines
1.0 KiB
#!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 |