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.
66 lines
1.3 KiB
66 lines
1.3 KiB
9 years ago
|
#!nsh
|
||
|
#
|
||
|
# @name QuadRanger
|
||
|
#
|
||
|
# @type Standard VTOL
|
||
8 years ago
|
# @class VTOL
|
||
9 years ago
|
#
|
||
|
# @maintainer Sander Smeets <sander@droneslab.com>
|
||
|
#
|
||
|
|
||
|
sh /etc/init.d/rc.vtol_defaults
|
||
|
|
||
7 years ago
|
if [ $AUTOCNF = yes ]
|
||
9 years ago
|
then
|
||
7 years ago
|
param set FW_THR_CRUISE 65.0
|
||
|
param set FW_PR_P 0.08
|
||
|
param set FW_PR_FF 0.5
|
||
|
param set FW_RR_P 0.05
|
||
|
param set FW_RR_FF 0.6
|
||
9 years ago
|
|
||
7 years ago
|
param set MIS_YAW_TMT 10
|
||
9 years ago
|
|
||
9 years ago
|
param set MC_ROLL_P 7.0
|
||
9 years ago
|
param set MC_ROLLRATE_P 0.15
|
||
|
param set MC_ROLLRATE_I 0.1
|
||
|
param set MC_ROLLRATE_D 0.004
|
||
9 years ago
|
param set MC_ROLLRATE_FF 0.0
|
||
9 years ago
|
param set MC_PITCH_P 7.0
|
||
9 years ago
|
param set MC_PITCHRATE_P 0.15
|
||
|
param set MC_PITCHRATE_I 0.1
|
||
|
param set MC_PITCHRATE_D 0.004
|
||
9 years ago
|
param set MC_PITCHRATE_FF 0.0
|
||
9 years ago
|
param set MC_YAW_P 3.5
|
||
|
param set MC_YAWRATE_P 0.6
|
||
|
param set MC_YAWRATE_I 0.04
|
||
9 years ago
|
param set MC_YAWRATE_D 0.0
|
||
|
param set MC_YAWRATE_FF 0.0
|
||
9 years ago
|
param set MC_YAWRATE_MAX 40.0
|
||
|
param set MC_YAWRAUTO_MAX 40.0
|
||
9 years ago
|
|
||
|
param set MPC_ACC_HOR_MAX 2.0
|
||
8 years ago
|
param set MPC_Z_VEL_MAX_DN 1.5
|
||
9 years ago
|
param set MPC_TKO_SPEED 1.5
|
||
|
param set MPC_LAND_SPEED 0.8
|
||
|
|
||
7 years ago
|
param set PWM_AUX_DIS5 950
|
||
|
param set PWM_AUX_REV1 1
|
||
|
param set PWM_AUX_REV2 1
|
||
|
param set PWM_RATE 400
|
||
9 years ago
|
|
||
|
param set VT_ARSP_TRANS 15.0
|
||
9 years ago
|
param set VT_ARSP_BLEND 8.0
|
||
9 years ago
|
param set VT_B_TRANS_DUR 4.0
|
||
7 years ago
|
param set VT_F_TRANS_THR 0.75
|
||
9 years ago
|
param set VT_IDLE_PWM_MC 1080
|
||
7 years ago
|
param set VT_MOT_COUNT 4
|
||
9 years ago
|
param set VT_TYPE 2
|
||
9 years ago
|
fi
|
||
|
|
||
7 years ago
|
set MAV_TYPE 22
|
||
9 years ago
|
|
||
7 years ago
|
set MIXER quad_x
|
||
9 years ago
|
set MIXER_AUX vtol_AAERT
|
||
|
|
||
7 years ago
|
set PWM_OUT 1234
|