Fix imu rotation definition

The X axis should be pointing to the mounting holes, not pins side.
This commit is contained in:
Oleg Kalachev
2026-05-07 19:54:16 +03:00
parent bd270db493
commit 5f1a938d4f
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
#include "util.h"
MPU9250 imu(SPI);
Vector imuRotation(0, 0, -PI / 2); // imu orientation as Euler angles
Vector imuRotation(0, 0, PI / 2); // imu orientation as Euler angles
Vector gyro; // gyroscope output, rad/s
Vector gyroBias;