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.
46 lines
954 B
46 lines
954 B
12 years ago
|
#!nsh
|
||
11 years ago
|
#
|
||
10 years ago
|
# @name 3DR Iris Quadrotor
|
||
11 years ago
|
#
|
||
10 years ago
|
# @type Quadrotor Wide
|
||
8 years ago
|
# @class Copter
|
||
10 years ago
|
#
|
||
8 years ago
|
# @output MAIN1 motor 1
|
||
|
# @output MAIN2 motor 2
|
||
|
# @output MAIN3 motor 3
|
||
|
# @output MAIN4 motor 4
|
||
|
#
|
||
|
# @output AUX1 feed-through of RC AUX1 channel
|
||
|
# @output AUX2 feed-through of RC AUX2 channel
|
||
|
# @output AUX3 feed-through of RC AUX3 channel
|
||
|
# @output AUX4 feed-through of RC FLAPS channel
|
||
|
#
|
||
8 years ago
|
# @maintainer Lorenz Meier <lorenz@px4.io>
|
||
11 years ago
|
#
|
||
12 years ago
|
|
||
11 years ago
|
sh /etc/init.d/rc.mc_defaults
|
||
|
|
||
6 years ago
|
if [ $AUTOCNF = yes ]
|
||
11 years ago
|
then
|
||
11 years ago
|
# TODO tune roll/pitch separately
|
||
11 years ago
|
param set MC_ROLL_P 7.0
|
||
10 years ago
|
param set MC_ROLLRATE_P 0.15
|
||
10 years ago
|
param set MC_ROLLRATE_I 0.05
|
||
11 years ago
|
param set MC_ROLLRATE_D 0.004
|
||
11 years ago
|
param set MC_PITCH_P 7.0
|
||
10 years ago
|
param set MC_PITCHRATE_P 0.15
|
||
10 years ago
|
param set MC_PITCHRATE_I 0.05
|
||
11 years ago
|
param set MC_PITCHRATE_D 0.004
|
||
11 years ago
|
param set MC_YAW_P 2.5
|
||
|
param set MC_YAWRATE_P 0.25
|
||
|
param set MC_YAWRATE_I 0.25
|
||
11 years ago
|
param set MC_YAWRATE_D 0.0
|
||
|
|
||
9 years ago
|
param set BAT_V_DIV 12.27559
|
||
|
param set BAT_A_PER_V 15.39103
|
||
12 years ago
|
fi
|
||
11 years ago
|
|
||
7 years ago
|
set MIXER quad_w
|
||
11 years ago
|
|
||
10 years ago
|
set PWM_OUT 1234
|