Subversion Repositories FlightCtrl

Rev

Rev 35 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35 Rev 127
1
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
// Testmodi
2
// Testmodi
3
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4
#define MOTOR_OFF       0
4
#define MOTOR_OFF       0
5
#define MOTOR_TEST      0
5
#define MOTOR_TEST      0
6
 
6
 
7
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
7
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8
// Abstimmung
8
// Abstimmung
9
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10
#define ACC_AMPLIFY    16
10
#define ACC_AMPLIFY    16
11
#define FAKTOR_P   1
11
#define FAKTOR_P   1
12
#define FAKTOR_I   0.0001
12
#define FAKTOR_I   0.0001
13
 
13
 
14
 
14
 
15
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
16
// Debug-Interface
16
// Debug-Interface
17
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
17
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
18
#define SIO_DEBUG               1   // Soll der Debugger aktiviert sein?
18
#define SIO_DEBUG               1   // Soll der Debugger aktiviert sein?
19
#define MIN_DEBUG_INTERVALL   250   // in diesem Intervall werden Degugdaten ohne Aufforderung gesendet
19
#define MIN_DEBUG_INTERVALL   250   // in diesem Intervall werden Degugdaten ohne Aufforderung gesendet
20
 
20
 
21
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22
// Sender
22
// Sender
23
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24
 #define K_NICK    0  
24
 #define K_NICK    0  
25
 #define K_ROLL    1
25
 #define K_ROLL    1
26
 #define K_GAS     2
26
 #define K_GAS     2
27
 #define K_GIER    3
27
 #define K_GIER    3
28
 #define K_POTI1   4
28
 #define K_POTI1   4
29
 #define K_POTI2   5
29
 #define K_POTI2   5
30
 #define K_POTI3   6
30
 #define K_POTI3   6
31
 #define K_POTI4   7
31
 #define K_POTI4   7
-
 
32
 #define K_POTI5   8
-
 
33
 #define K_POTI6   9
-
 
34
 #define K_POTI7   10
-
 
35
 #define K_POTI8   11
-
 
36
 
32
// +++++++++++++++++++++++++++++++
37
// +++++++++++++++++++++++++++++++
33
// + Getestete Settings:
38
// + Getestete Settings:
34
// +++++++++++++++++++++++++++++++
39
// +++++++++++++++++++++++++++++++
35
// Setting: Kamera
40
// Setting: Kamera
36
// Stick_P:3
41
// Stick_P:3
37
// Stick_D:0
42
// Stick_D:0
38
// Gyro_P: 175
43
// Gyro_P: 175
39
// Gyro_I: 175
44
// Gyro_I: 175
40
// Ki_Anteil: 10
45
// Ki_Anteil: 10
41
// +++++++++++++++++++++++++++++++
46
// +++++++++++++++++++++++++++++++
42
// + Getestete Settings:
47
// + Getestete Settings:
43
// +++++++++++++++++++++++++++++++
48
// +++++++++++++++++++++++++++++++
44
// Setting: Normal
49
// Setting: Normal
45
// Stick_P:2
50
// Stick_P:2
46
// Stick_D:8
51
// Stick_D:8
47
// Gyro_P: 80
52
// Gyro_P: 80
48
// Gyro_I: 150
53
// Gyro_I: 150
49
// Ki_Anteil: 5
54
// Ki_Anteil: 5
50
 
55
 
51
 
56