Reefwing-Software / Reefwing-AHRS

Attitude and Heading Reference System (AHRS)
Other
43 stars 8 forks source link

Invert the Gyro values to match gyro orientation #1

Closed LazaroFilm closed 1 year ago

LazaroFilm commented 1 year ago

On my Arduino Nano 33 ble, the gyro direction is inverted. This created errors in all the fusion algorithms where the gyro would compensate the value in the wrong way, then the value would slowly be pulled back to the right value by the accelerometer. Flipped the sign of each gyro values, and now the fusion filters are working again.