Peter Barker
30749b92d9
Filter: add missing override keyword
6 years ago
Peter Barker
1056321457
Filter: add override keyword
6 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Lucas De Marchi
18f1f8bea8
Filter: add AverageFilter variant to save current sum
...
When the the variable in which we are saving the current sum is of
integral type we can use a much more optimized apply() method: instead
of looping the entire number of samples adding them up, we always keep
the current sum in a member. It also allows the caller to decide the
type it wants to use to get the average: this may be dictated by another
interface it uses or it may want to avoid the implicit truncate in the
return of apply().
9 years ago
Lucas De Marchi
98904825cb
Filter: replace header guard with pragma once
9 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Pat Hickey
84e0dd406e
Filter: ported to AP_HAL
12 years ago
uncrustify
dbba304af8
uncrustify libraries/Filter/AverageFilter.h
13 years ago
Andrew Tridgell
06c8763881
Filter: added 5 point average float filter
13 years ago
rmackay9
39fd24ed14
Filter - remove obsolete warning from comments re alloc/malloc dangers
13 years ago
rmackay9
645fda2fb2
Filter - added AverageFilter, removed SumFilter
...
added FilterWithBuffer to allow removal of malloc/free without losing ability to pass around filter objects
13 years ago
rmackay9
b9b88ba237
Filter - added AverageFilter - this will be used in place of SumFilter because it removes the possibility of overflows
13 years ago