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

Merge pull request #2760 from mikeller/reworked_altitude_estimation

Reworked altitude estimation. Made it work when ACC is disabled.
This commit is contained in:
Michael Keller 2017-04-10 13:00:16 +12:00 committed by GitHub
commit ce8c5fbd79
21 changed files with 127 additions and 136 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);