6,9 → 6,9 |
#define PITCHROLL_MINLIMIT GYRO_SUMMATION_FACTOR_PITCHROLL * 510 |
#define PITCHROLL_MAXLIMIT GYRO_SUMMATION_FACTOR_PITCHROLL * 515 |
|
const uint8_t GYROS_REVERSED = 0; |
const uint8_t PR_GYROS_ORIENTATION_REVERSED = 0; |
const uint8_t GYRO_QUADRANT = 0; |
const uint8_t YAW_REVERSED = 1; |
const uint8_t YAW_GYRO_REVERSED = 1; |
const uint8_t Z_ACC_REVERSED = 0; |
|
// void gyro_init(void) {} |
65,7 → 65,7 |
} |
|
void gyro_setDefaults(void) { |
staticParams.DriftComp = 200; |
staticParams.GyroAccFactor = 25; |
staticParams.GyroAccTrim = 1; |
staticParams.zerothOrderGyroCorrectionFactorx1000 = 25; |
staticParams.secondOrderGyroCorrectionDivisor = 1; |
staticParams.secondOrderGyroCorrectionLimit = 200; |
} |