2015-11-18 23:56:33 -04:00
|
|
|
#!nsh
|
|
|
|
#
|
|
|
|
# @name Generic AAVVT v-tail plane airframe with Quad VTOL.
|
|
|
|
#
|
|
|
|
# @type Standard VTOL
|
|
|
|
#
|
|
|
|
# @maintainer Sander Smeets <sander@droneslab.com>
|
|
|
|
#
|
|
|
|
|
|
|
|
sh /etc/init.d/rc.vtol_defaults
|
|
|
|
|
|
|
|
if [ $AUTOCNF == yes ]
|
|
|
|
then
|
|
|
|
param set VT_TYPE 2
|
|
|
|
param set VT_MOT_COUNT 4
|
|
|
|
param set VT_TRANS_THR 0.75
|
|
|
|
|
|
|
|
param set MC_ROLL_P 7.0
|
|
|
|
param set MC_ROLLRATE_P 0.15
|
|
|
|
param set MC_ROLLRATE_I 0.002
|
|
|
|
param set MC_ROLLRATE_D 0.003
|
|
|
|
param set MC_ROLLRATE_FF 0.0
|
|
|
|
param set MC_PITCH_P 7.0
|
|
|
|
param set MC_PITCHRATE_P 0.12
|
|
|
|
param set MC_PITCHRATE_I 0.002
|
|
|
|
param set MC_PITCHRATE_D 0.003
|
|
|
|
param set MC_PITCHRATE_FF 0.0
|
|
|
|
param set MC_YAW_P 2.8
|
|
|
|
param set MC_YAW_FF 0.5
|
|
|
|
param set MC_YAWRATE_P 0.22
|
|
|
|
param set MC_YAWRATE_I 0.02
|
|
|
|
param set MC_YAWRATE_D 0.0
|
|
|
|
param set MC_YAWRATE_FF 0.0
|
2016-09-25 13:36:46 -03:00
|
|
|
param set MC_YAWRATE_MAX 40
|
|
|
|
param set MC_YAWRAUTO_MAX 40
|
2016-04-23 02:56:57 -03:00
|
|
|
|
|
|
|
param set VT_MOT_COUNT 4
|
|
|
|
param set VT_IDLE_PWM_MC 1080
|
|
|
|
param set VT_TYPE 2
|
2015-11-18 23:56:33 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
set MIXER vtol_quad_x
|
2016-01-27 09:52:22 -04:00
|
|
|
set PWM_OUT 1234
|
|
|
|
set PWM_RATE 400
|
2015-11-18 23:56:33 -04:00
|
|
|
|
|
|
|
set MIXER_AUX vtol_AAVVT
|
2016-02-15 08:25:19 -04:00
|
|
|
set PWM_ACHDIS 5
|
|
|
|
set PWM_AUX_DISARMED 950
|
2015-11-18 23:56:33 -04:00
|
|
|
|
|
|
|
set MAV_TYPE 22
|