complementary filter: K is float
And I wondered why complementary filters have not been working for a yearpull/1/head
parent
a7079d2ef1
commit
23b285da14
|
@ -7,6 +7,6 @@ class ComplementaryFilter{
|
|||
ComplementaryFilter(float k);
|
||||
float calculate(float f);
|
||||
private:
|
||||
int K;
|
||||
float K;
|
||||
float oldVal;
|
||||
};
|
Loading…
Reference in New Issue