Make util module header instead of .ino-file

This commit is contained in:
Oleg Kalachev
2025-01-10 06:51:14 +03:00
parent 08b14d1d76
commit 85172cdcc8
11 changed files with 11 additions and 9 deletions

View File

@@ -6,12 +6,12 @@
#include "quaternion.h"
#include "vector.h"
#include "lpf.h"
#include "util.h"
#define WEIGHT_ACC 0.5f
#define RATES_LFP_ALPHA 0.2 // cutoff frequency ~ 40 Hz
LowPassFilter<Vector> ratesFilter(RATES_LFP_ALPHA);
extern const float ONE_G;
void estimate() {
applyGyro();