You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The baud-rate between the MPU9250 and the microcontroller is not specified explicitly. When trying to sample the DMP at 200 Hz, this caused some drops in the gyroscope readings, which in turn also affected the angle computation. And therefore my balancing controller was unstable
Adding the line: Wire.setClock(400000); after Wire.begin();
in the inv_error_t MPU9250_DMP::begin(void) function resolved all issues.
The text was updated successfully, but these errors were encountered:
The baud-rate between the MPU9250 and the microcontroller is not specified explicitly. When trying to sample the DMP at 200 Hz, this caused some drops in the gyroscope readings, which in turn also affected the angle computation. And therefore my balancing controller was unstable
Adding the line:
Wire.setClock(400000);
afterWire.begin();
in the
inv_error_t MPU9250_DMP::begin(void)
function resolved all issues.The text was updated successfully, but these errors were encountered: