Subversion Repositories FlightCtrl

Rev

Rev 2026 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2026 Rev 2092
Line 34... Line 34...
34
        gyro_calibrate();
34
        gyro_calibrate();
35
}
35
}
Line 36... Line 36...
36
 
36
 
37
void gyro_setDefaultParameters(void) {
37
void gyro_setDefaultParameters(void) {
38
  staticParams.gyroD = 3;
38
  staticParams.gyroD = 3;
39
  staticParams.driftCompDivider = 2;
39
  IMUConfig.driftCompDivider = 2;
40
  staticParams.driftCompLimit = 5;
40
  IMUConfig.driftCompLimit = 5;
41
  staticParams.zerothOrderCorrection = 1;
41
  IMUConfig.zerothOrderCorrection = 1;
42
  staticParams.imuReversedFlags = IMU_REVERSE_ACC_Z;
42
  IMUConfig.imuReversedFlags = IMU_REVERSE_ACC_Z;