repo.or.cz
/
inav.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge remote-tracking branch 'origin/master' into mmosca-mavlinkrc
[inav.git]
/
src
/
main
/
common
/
lulu.h
blob
84f1ad93566932da04022ec9dccc2069df4a0284
1
#pragma once
2
3
// Max N = 15
4
typedef
struct
5
{
6
int
windowSize
;
7
int
windowBufIndex
;
8
int
N
;
9
float
luluInterim
[
32
]
__attribute__
((
aligned
(
128
)));
10
float
luluInterimB
[
32
];
11
}
luluFilter_t
;
12
13
void
luluFilterInit
(
luluFilter_t
*
filter
,
int
N
);
14
float
luluFilterApply
(
luluFilter_t
*
filter
,
float
input
);