Peter Barker
30749b92d9
Filter: add missing override keyword
2019-02-20 19:23:54 +11:00
Peter Barker
1056321457
Filter: add override keyword
2018-11-08 11:30:12 +11:00
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.
2016-10-24 09:42:01 -02:00
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().
2016-05-10 14:24:59 -03:00
Lucas De Marchi
98904825cb
Filter: replace header guard with pragma once
2016-02-18 14:52:35 -02:00
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
2013-08-30 13:01:39 +10:00
Pat Hickey
84e0dd406e
Filter: ported to AP_HAL
2012-12-20 14:51:25 +11:00
uncrustify
dbba304af8
uncrustify libraries/Filter/AverageFilter.h
2012-08-21 19:04:30 -07:00
Andrew Tridgell
06c8763881
Filter: added 5 point average float filter
2012-06-27 16:01:50 +10:00
rmackay9
39fd24ed14
Filter - remove obsolete warning from comments re alloc/malloc dangers
2012-03-25 16:14:07 +09:00
rmackay9
645fda2fb2
Filter - added AverageFilter, removed SumFilter
...
added FilterWithBuffer to allow removal of malloc/free without losing ability to pass around filter objects
2012-02-28 21:01:11 +09:00
rmackay9
b9b88ba237
Filter - added AverageFilter - this will be used in place of SumFilter because it removes the possibility of overflows
2012-02-26 17:34:36 +09:00