Rev 173 | Rev 515 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 173 | Rev 401 | ||
---|---|---|---|
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 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 | 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 | // +++++++++++++++++++++++++++++++ |
32 | // +++++++++++++++++++++++++++++++ |
33 | // + Getestete Settings: |
33 | // + Getestete Settings: |
34 | // +++++++++++++++++++++++++++++++ |
34 | // +++++++++++++++++++++++++++++++ |
35 | // Setting: Kamera |
35 | // Setting: Kamera |
36 | // Stick_P:3 |
36 | // Stick_P:3 |
37 | // Stick_D:0 |
37 | // Stick_D:0 |
38 | // Gyro_P: 175 |
38 | // Gyro_P: 175 |
39 | // Gyro_I: 175 |
39 | // Gyro_I: 175 |
40 | // Ki_Anteil: 10 |
40 | // Ki_Anteil: 10 |
41 | // +++++++++++++++++++++++++++++++ |
41 | // +++++++++++++++++++++++++++++++ |
42 | // + Getestete Settings: |
42 | // + Getestete Settings: |
43 | // +++++++++++++++++++++++++++++++ |
43 | // +++++++++++++++++++++++++++++++ |
44 | // Setting: Normal |
44 | // Setting: Normal |
45 | // Stick_P:2 |
45 | // Stick_P:2 |
46 | // Stick_D:8 |
46 | // Stick_D:8 |
47 | // Gyro_P: 80 |
47 | // Gyro_P: 80 |
48 | // Gyro_I: 150 |
48 | // Gyro_I: 150 |
49 | // Ki_Anteil: 5 |
49 | // Ki_Anteil: 5 |
50 | 50 | ||
51 | 51 |