From a9bacfc6e8fc7a99556a515a11db3e008dc764e0 Mon Sep 17 00:00:00 2001 From: Stedd Date: Sun, 22 Oct 2023 23:40:22 +0200 Subject: [PATCH] Fixed pitch rate axis after bugfix in GY85 library --- IMU.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IMU.ino b/IMU.ino index 55c8455..853a911 100644 --- a/IMU.ino +++ b/IMU.ino @@ -26,7 +26,7 @@ void readIMU() { //Pitch rate from gyroscope - pitch_rate = -gx; + pitch_rate = -gy; //Complementary filter