5011_crazy2fly 738 Bytes
Newer Older
1
2
3
4
5
6
#!/bin/sh
#
# @name LS2N Crazy2Fly quadrotor
#
# @type + Quadrotor +
#
7
# @maintainer Damien Six <damien.six@ls2n.fr>
8
9
10
#

. ${R}etc/init.d/rc.mc_defaults
Damien SIX's avatar
Damien SIX committed
11
. ${R}etc/init.d-posix/rc.mc_simulation_ls2n
12

13
14

param set MC_ROLLRATE_K 1.8
15
param set MC_ROLLRATE_D 0.002
16
17
18
19
param set MC_ROLLRATE_I 0.500
param set MC_ROLLRATE_P 0.15
param set MC_ROLL_P 10.0
param set MC_PITCHRATE_K 1.8
20
param set MC_PITCHRATE_D 0.002
21
22
23
24
25
param set MC_PITCHRATE_I 0.500
param set MC_PITCHRATE_P 0.15
param set MC_PITCH_P 10.0
param set MC_YAWRATE_K 3.5
param set MC_YAWRATE_D 0.002
26
27
param set MC_YAWRATE_I 0.1
param set MC_YAWRATE_P 0.2
28
param set MC_YAW_P 5.0
Damien SIX's avatar
Damien SIX committed
29
30
31
param set MC_PITCHRATE_MAX 1800.0
param set MC_ROLLRATE_MAX 1800.0
param set MC_YAWRATE_MAX 1800.0
32

33
set MIXER quad_+