Subversion Repositories FlightCtrl

Rev

Rev 2112 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1612 dongfang 1
#include "configuration.h"
2
 
1821 - 3
void gyro_calibrate(void) {
1965 - 4
  // Nothing to calibrate.
1821 - 5
}
1612 dongfang 6
 
2032 - 7
void gyro_init(void) {
1971 - 8
  // No amplifiers, no DAC.
9
}
10
 
11
void gyro_setDefaultParameters(void) {
2092 - 12
  IMUConfig.accQuadrant = 4;
13
  IMUConfig.imuReversedFlags = IMU_REVERSE_ACC_XY;
1960 - 14
  staticParams.gyroD = 5;
2160 - 15
  IMUConfig.driftCompDivider = 2;
2092 - 16
  IMUConfig.driftCompLimit = 3;
2160 - 17
  IMUConfig.zerothOrderCorrection = 3;
1612 dongfang 18
}