Commit Graph

14 Commits

Author SHA1 Message Date
Andrew Tridgell
5ef31a1801 Filter: moved ModeFilter to C++
save flash space for common code
2021-04-15 06:57:16 +10: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
98904825cb Filter: replace header guard with pragma once 2016-02-18 14:52:35 -02:00
Robert Lefebvre
77877ba5fc ModeFilter: Add get() method and support for Float type 2015-12-08 08:25:18 +11: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
Tobias
338c054da2 Filter: validity of array index was checked AFTER accessing the element.
(correction decreased Program size by 12 bytes)
2013-07-08 12:17:59 +10:00
Pat Hickey
84e0dd406e Filter: ported to AP_HAL 2012-12-20 14:51:25 +11:00
uncrustify
5948f825ba uncrustify libraries/Filter/ModeFilter.h 2012-08-21 19:04:30 -07: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
297d2ae457 ModeFilter - corrected shadowed variable compiler warning for drop_high_sample 2012-02-26 17:57:28 +09:00
rmackay9
f53ff8de97 Filter - removed shadowing of variables in constructors for Filter, ModeFilter and SumFilter (sorry tridge!)
increased maximum sample buffer size from 6 to 10
2012-02-26 17:17:46 +09:00
rmackay9
c14d7768f7 Filter - first version of filter library include ModeFilter 2012-02-26 15:34:05 +09:00