Merge remote-tracking branch 'origin/master' into mmosca-mavlinkrc
[inav.git] / src / main / common / lulu.h
blob84f1ad93566932da04022ec9dccc2069df4a0284
1 #pragma once
3 // Max N = 15
4 typedef struct
6 int windowSize;
7 int windowBufIndex;
8 int N;
9 float luluInterim[32] __attribute__((aligned(128)));
10 float luluInterimB[32];
11 } luluFilter_t;
13 void luluFilterInit(luluFilter_t *filter, int N);
14 float luluFilterApply(luluFilter_t *filter, float input);