Rev 2025 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1910 | - | 1 | #include "ADXRS610_FC2.0.h" |
2 | #include "configuration.h" |
||
3 | |||
4 | void gyro_calibrate(void) { |
||
2099 | - | 5 | // Nothing to calibrate. |
1910 | - | 6 | } |
7 | |||
2099 | - | 8 | void gyro_init(void) { |
9 | // No amplifiers, no DAC. |
||
1910 | - | 10 | } |
11 | |||
2099 | - | 12 | void gyro_setDefaultParameters(void) { |
13 | IMUConfig.accQuadrant = 4; |
||
14 | IMUConfig.imuReversedFlags = IMU_REVERSE_ACC_XY; |
||
15 | staticParams.gyroD = 5; |
||
16 | IMUConfig.driftCompDivider = 1; |
||
17 | IMUConfig.driftCompLimit = 3; |
||
18 | IMUConfig.zerothOrderCorrection = 1; |
||
19 | } |