mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Fixed tests / SITL build.
This commit is contained in:
parent
2bc6f92c1b
commit
9cd5bcd7a3
2 changed files with 11 additions and 7 deletions
|
@ -21,11 +21,19 @@
|
|||
#pragma once
|
||||
|
||||
#include "common/axis.h"
|
||||
#include "common/filter.h"
|
||||
#include "common/time.h"
|
||||
#include "pg/pg.h"
|
||||
|
||||
#include "drivers/bus.h"
|
||||
#include "drivers/sensor.h"
|
||||
|
||||
#include "pg/pg.h"
|
||||
|
||||
typedef union gyroDynamicFilter_u {
|
||||
pt1Filter_t pt1FilterState;
|
||||
biquadFilter_t biquadFilterState;
|
||||
} gyroDynamicFilter_t;
|
||||
|
||||
typedef enum {
|
||||
GYRO_NONE = 0,
|
||||
GYRO_DEFAULT,
|
||||
|
|
|
@ -22,17 +22,13 @@
|
|||
|
||||
#include "arm_math.h"
|
||||
|
||||
#include "common/time.h"
|
||||
#include "common/filter.h"
|
||||
|
||||
#include "sensors/gyro.h"
|
||||
|
||||
// max for F3 targets
|
||||
#define FFT_WINDOW_SIZE 32
|
||||
|
||||
typedef union gyroDynamicFilter_u {
|
||||
pt1Filter_t pt1FilterState;
|
||||
biquadFilter_t biquadFilterState;
|
||||
} gyroDynamicFilter_t;
|
||||
|
||||
typedef struct gyroAnalyseState_s {
|
||||
// accumulator for oversampled data => no aliasing and less noise
|
||||
uint8_t sampleCount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue