Simplify tracking

This commit is contained in:
2026-03-24 23:11:17 +01:00
parent 8ab07adfc6
commit 0fc38a5e1b
4 changed files with 35 additions and 76 deletions
+2 -5
View File
@@ -158,8 +158,7 @@ struct __attribute__((packed)) ImuPacket {
static_assert(sizeof(ImuPacket) == 14, "ImuPacket must be 14 bytes");
#endif
// Tuning constants
extern const float ALPHA;
// Tuning constants
extern const int LOOP_RATE_MS;
extern const int BIAS_SAMPLES;
extern const int IDLE_FRAMES;
@@ -184,10 +183,8 @@ extern const float BATT_CRITICAL;
extern const unsigned long AUTO_RECAL_MS;
#endif
// Global state
extern float angleX, angleY;
// Global state
extern float accumX, accumY;
extern float gravX, gravY, gravZ;
extern float biasGX, biasGY, biasGZ;
extern float calTempC;
extern float cachedTempC;