Open dymnz opened 6 years ago
Calibration value:
magBias[0] = 126.0 * mRes * magCalibration[0]; // save mag biases in G for main program
magBias[1] = 33.0 * mRes * magCalibration[1];
magBias[2] = -86.0 * mRes * magCalibration[2];
magScale[0] = 1.0286195;
magScale[1] = 0.983897;
magScale[2] = 0.98867315;
Fusion rate ~400Hz, Gyro rate 200 Hz (writeByte(MPU9250_ADDRESS, SMPLRT_DIV, 0x04);
). Yaw drifts
https://github.com/kriswiner/MPU9250/issues/25#issuecomment-299027763
3) insufficient fusion rate--> fusion rate needs to be minimum 4-5x of gyro sample rate, 200 Hz gyro rate means >1 kHz fusion rate
Changed Gyro rate to 100 Hz, Fusion rate ~600Hz. Yaw slow to settle (>10s). May need >1kHz fusion rate @ 200Hz gyro
Not needed for separate FLX/EXT PRO/SUP test
float GyroMeasError = PI * (10.0f / 180.0f);
sEMGx4 + MPUx3 report gyro@250Hz:
sEMGx4 + MPUx3 report gyro@200Hz: <- Default value, currently using
sEMGx4 + MPUx3 report gyro@100Hz:
sEMG ADC
teensy3.2 ADC is 3.3v tolerant
MPU angle