Simplify tracking
This commit is contained in:
+2
-5
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user