Subversion Repositories FlightCtrl

Rev

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

Rev 2112 Rev 2160
Line 10... Line 10...
10
 
10
 
11
void gyro_setDefaultParameters(void) {
11
void gyro_setDefaultParameters(void) {
12
  IMUConfig.accQuadrant = 4;
12
  IMUConfig.accQuadrant = 4;
13
  IMUConfig.imuReversedFlags = IMU_REVERSE_ACC_XY;
13
  IMUConfig.imuReversedFlags = IMU_REVERSE_ACC_XY;
14
  staticParams.gyroD = 5;
14
  staticParams.gyroD = 5;
15
  IMUConfig.driftCompDivider = 1;
15
  IMUConfig.driftCompDivider = 2;
16
  IMUConfig.driftCompLimit = 3;
16
  IMUConfig.driftCompLimit = 3;
17
  IMUConfig.zerothOrderCorrection = 1;
17
  IMUConfig.zerothOrderCorrection = 3;