Rev 1612 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1612 | Rev 1646 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #define _INVENSENSE_H |
2 | #define _INVENSENSE_H |
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line 4... | ||
4 | #include "sensors.h" |
4 | #include "sensors.h" |
5 | 5 | ||
6 | #define GYRO_HW_NAME "ISens" |
- | |
7 | - | ||
8 | /* |
- | |
9 | * Configuration for my prototype board with InvenSense gyros. |
- | |
10 | * The FC 1.3 board is installed upside down, therefore 2 acc. meters are reversed. |
- | |
11 | */ |
- | |
12 | #define ACC_REVERSE_ROLLAXIS yes |
- | |
13 | #define ACC_REVERSE_ZAXIS yes |
6 | #define GYRO_HW_NAME "ISens" |
14 | 7 | ||
15 | /* |
8 | /* |
16 | * The InvenSense gyros have a lower sensitivity than for example the ADXRS610s on the FC 2.0 ME, |
9 | * The InvenSense gyros have a lower sensitivity than for example the ADXRS610s on the FC 2.0 ME, |
17 | * but they have a wider range too. |
10 | * but they have a wider range too. |
Line 31... | Line 24... | ||
31 | /* |
24 | /* |
32 | * Same for yaw. |
25 | * Same for yaw. |
33 | */ |
26 | */ |
34 | #define GYRO_YAW_CORRECTION 0.97f |
27 | #define GYRO_YAW_CORRECTION 0.97f |
Line 35... | Line -... | ||
35 | - | ||
36 | /* |
- | |
37 | * Yaw axis is reverse. |
- | |
38 | */ |
- | |
39 | #define GYRO_REVERSE_YAW yes |
- | |
40 | 28 |