Rev 885 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 885 | Rev 886 | ||
---|---|---|---|
1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
1 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 | // Testmodi |
2 | // Testmodi |
3 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
3 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
4 | #define MOTOR_OFF 0 |
4 | #define MOTOR_OFF 0 |
5 | #define MOTOR_TEST 0 |
- | |
6 | 5 | ||
7 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
6 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
8 | // Abstimmung |
7 | // Abstimmung |
9 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
8 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
10 | #define ACC_AMPLIFY 12 |
9 | #define ACC_AMPLIFY 12 |
11 | #define FAKTOR_P 1 |
- | |
12 | #define FAKTOR_I 0.0001 |
10 | #define FACTOR_I 0.0001 |
13 | 11 | ||
14 | 12 | ||
15 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
13 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
16 | // Debug-Interface |
14 | // Debug-Interface |
17 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
15 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
18 | #define SIO_DEBUG 1 // Soll der Debugger aktiviert sein? |
16 | #define SIO_DEBUG 1 // Soll der Debugger aktiviert sein? |
19 | #define MIN_DEBUG_INTERVALL 250 // in diesem Intervall werden Degugdaten ohne Aufforderung gesendet |
17 | #define MIN_DEBUG_INTERVALL 250 // in diesem Intervall werden Degugdaten ohne Aufforderung gesendet |
20 | - | ||
21 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
18 | |
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 |
19 | |
32 | // +++++++++++++++++++++++++++++++ |
20 | // +++++++++++++++++++++++++++++++ |
33 | // + Getestete Settings: |
21 | // + Getestete Settings: |
34 | // +++++++++++++++++++++++++++++++ |
22 | // +++++++++++++++++++++++++++++++ |
35 | // Setting: Kamera |
23 | // Setting: Kamera |
36 | // Stick_P:3 |
24 | // Stick_P:3 |
37 | // Stick_D:0 |
25 | // Stick_D:0 |
38 | // Gyro_P: 175 |
26 | // Gyro_P: 175 |
39 | // Gyro_I: 175 |
27 | // Gyro_I: 175 |
40 | // Ki_Anteil: 10 |
28 | // Ki_Anteil: 10 |
41 | // +++++++++++++++++++++++++++++++ |
29 | // +++++++++++++++++++++++++++++++ |
42 | // + Getestete Settings: |
30 | // + Getestete Settings: |
43 | // +++++++++++++++++++++++++++++++ |
31 | // +++++++++++++++++++++++++++++++ |
44 | // Setting: Normal |
32 | // Setting: Normal |
45 | // Stick_P:2 |
33 | // Stick_P:2 |
46 | // Stick_D:8 |
34 | // Stick_D:8 |
47 | // Gyro_P: 80 |
35 | // Gyro_P: 80 |
48 | // Gyro_I: 150 |
36 | // Gyro_I: 150 |
49 | // Ki_Anteil: 5 |
37 | // Ki_Anteil: 5 |
50 | 38 | ||
51 | 39 |