master
zrg 2022-03-16 00:54:30 +08:00
parent f65d7bb37a
commit 953bb7912c
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ double gyroX, gyroY, gyroZ;
int16_t tempRaw; int16_t tempRaw;
bool stable = 0; bool stable = 0;
uint32_t last_unstable_time; uint32_t last_unstable_time;
uint32_t last_stable_time;
double gyroZangle; // Angle calculate using the gyro only double gyroZangle; // Angle calculate using the gyro only
double compAngleZ; // Calculated angle using a complementary filter double compAngleZ; // Calculated angle using a complementary filter
double kalAngleZ; // Calculated angle using a Kalman filter double kalAngleZ; // Calculated angle using a Kalman filter