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.
35 lines
614 B
35 lines
614 B
#!nsh |
|
# |
|
# @name Quadrotor + Tailsitter |
|
# |
|
# @type VTOL Quad Tailsitter |
|
# @class VTOL |
|
# |
|
# @output MAIN1 motor 1 |
|
# @output MAIN2 motor 2 |
|
# @output MAIN3 motor 4 |
|
# @output MAIN4 motor 5 |
|
# @output MAIN5 elevon left |
|
# @output MAIN6 elevon right |
|
# @output MAIN7 canard surface |
|
# @output MAIN8 rudder |
|
# |
|
# @maintainer Roman Bapst <roman@px4.io> |
|
# |
|
|
|
sh /etc/init.d/rc.vtol_defaults |
|
|
|
if [ $AUTOCNF == yes ] |
|
then |
|
param set VT_MOT_COUNT 4 |
|
param set VT_IDLE_PWM_MC 1080 |
|
param set VT_TYPE 0 |
|
param set VT_ELEV_MC_LOCK 1 |
|
fi |
|
|
|
set MIXER quad_+_vtol |
|
|
|
set PWM_OUT 1234 |
|
set PWM_MAX 2000 |
|
set PWM_RATE 400 |
|
set MAV_TYPE 20
|
|
|