1. Jody McAdams
  2. ArduinoProjects

Commits

Jody McAdams  committed 8684928

added a comment and changed default scale to 250

  • Participants
  • Parent commits f8e597a
  • Branches default

Comments (0)

Files changed (1)

File Sensors/Gyro/Gyro.ino

View file
 
 #if ENABLE_CALIBRATION
 
-float calibrationScale = 32.0f;  
+float calibrationScale = 32.0f; //hacky way to adjust the calibration effect (32 works well for me)
+
 enum CalibrationState
 {
   CalibrationState_CalculateInitialValues,
 CalibrationState calibrationState = CalibrationState_CalculateInitialValues;
 #endif
 
-const int sensorRotationScaleDPS = 500; //(can be 250, 500, or 2000)
+const int sensorRotationScaleDPS = 250; //(can be 250, 500, or 2000)
 
 //Allow the gyroscope values to be filtered to reduce noise
 #define ENABLE_FILTERING true