1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Some baro cleanups to avoid using or exposing incomplete and

uninitialised baro data.

imu code size reduction (treym)
This commit is contained in:
Dominic Clifton 2014-06-24 00:14:30 +01:00
parent 2413130c0f
commit f127847bf2
4 changed files with 43 additions and 35 deletions

View file

@ -20,7 +20,7 @@
#define BARO_SAMPLE_COUNT_MAX 48
typedef struct barometerConfig_s {
uint8_t baro_sample_count; // size of baro filter array
uint8_t baro_sample_count; // size of baro filter array
float baro_noise_lpf; // additional LPF to reduce baro noise
float baro_cf_vel; // apply Complimentary Filter to keep the calculated velocity based on baro velocity (i.e. near real velocity)
float baro_cf_alt; // apply CF to use ACC for height estimation