Attempt to fix roll correction

This commit is contained in:
nikrozman committed 2026-03-01 22:12:23 +01:00
1 parent 9e481096be
commit b3cc319d5e
5 files changed
+25 -60

No files matched your search

-5
View File
@@ -4,11 +4,6 @@
extern LSM6DS3 imu;
// Roll-compensation rotation matrix coefficients (computed in calibrateGyroBias).
// Rotate device-frame [gz, gy] → world-frame [screenX, screenY].
extern float rollSin; // sin of device yaw on table
extern float rollCos; // cos of device yaw on table
void imuWriteReg(uint8_t reg, uint8_t val);
uint8_t imuReadReg(uint8_t reg);
float readIMUTemp();