1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Reworked altitude estimation. Made it work when ACC is disabled.

This commit is contained in:
mikeller 2017-03-29 02:01:09 +13:00
parent 9053feb418
commit 6a03b48e7f
21 changed files with 127 additions and 135 deletions

View file

@ -67,7 +67,6 @@ typedef struct imuRuntimeConfig_s {
void imuConfigure(uint16_t throttle_correction_angle);
float getCosTiltAngle(void);
void calculateEstimatedAltitude(timeUs_t currentTimeUs);
void imuUpdateAttitude(timeUs_t currentTimeUs);
int16_t calculateThrottleAngleCorrection(uint8_t throttle_correction_value);