Subversion Repositories FlightCtrl

Rev

Rev 683 | Rev 690 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 683 Rev 687
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    12
10
#define ACC_AMPLIFY    12
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   500   // in diesem Intervall werden Degugdaten ohne Aufforderung gesendet
19
#define MIN_DEBUG_INTERVALL   500   // in diesem Intervall werden Degugdaten ohne Aufforderung gesendet
20
 
-
 
21
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
20
 
22
// Sender
-
 
23
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
 
24
 #define K_NICK    0  
-
 
25
 #define K_ROLL    1
-
 
26
 #define K_GAS     2
-
 
27
 #define K_GIER    3
-
 
28
 #define K_POTI1   4
-
 
29
 #define K_POTI2   5
-
 
30
 #define K_POTI3   6
-
 
31
 #define K_POTI4   7
21
 
32
// +++++++++++++++++++++++++++++++
22
// +++++++++++++++++++++++++++++++
33
// + Getestete Settings:
23
// + Getestete Settings:
34
// +++++++++++++++++++++++++++++++
24
// +++++++++++++++++++++++++++++++
35
// Setting: Kamera
25
// Setting: Kamera
36
// Stick_P:3
26
// Stick_P:3
37
// Stick_D:0
27
// Stick_D:0
38
// Gyro_P: 175
28
// Gyro_P: 175
39
// Gyro_I: 175
29
// Gyro_I: 175
40
// Ki_Anteil: 10
30
// Ki_Anteil: 10
41
// +++++++++++++++++++++++++++++++
31
// +++++++++++++++++++++++++++++++
42
// + Getestete Settings:
32
// + Getestete Settings:
43
// +++++++++++++++++++++++++++++++
33
// +++++++++++++++++++++++++++++++
44
// Setting: Normal
34
// Setting: Normal
45
// Stick_P:2
35
// Stick_P:2
46
// Stick_D:8
36
// Stick_D:8
47
// Gyro_P: 80
37
// Gyro_P: 80
48
// Gyro_I: 150
38
// Gyro_I: 150
49
// Ki_Anteil: 5
39
// Ki_Anteil: 5
50
 
40
 
51
 
41