mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 14:06:32 +00:00
Fix imu rotation definition
The X axis should be pointing to the mounting holes, not pins side.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user