Fixed tests / SITL build.
This commit is contained in:
parent
2bc6f92c1b
commit
9cd5bcd7a3
|
@ -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…
Reference in New Issue