rmackay9
323d7fac43
Filter: #include AP_Buffer.h no longer needed now that completementary filter has been moved to InertialNav library
2012-12-17 20:52:53 +09:00
rmackay9
b98f0448a3
ThirdOrderCompFilter: delete because now combined with AP_InertialNav library
2012-12-10 00:48:43 +09:00
rmackay9
a83f6e54b5
ThirdOrderCompFilter: remove last_time_constant_xy and _z static variables to save 8 bytes.
2012-12-06 10:24:58 +09:00
Andrew Tridgell
5c48988ed9
Filter: fixed example build
2012-11-24 21:08:48 +11:00
rmackay9
85a77554e1
Filter: improved low pass filter allows setting gain using time_step and cutoff freq
2012-11-19 01:06:06 +09:00
rmackay9
caeeca3c3c
AP_Motors, AP_RangeFinder, Filter: fixes to example sketches
2012-11-08 00:29:43 +09:00
rmackay9
56f374fc7d
AP_InertialNav: reanme AP_InertialNav and ThirdOrderCompFilter classes to resolve desktop build compiler errors
2012-11-07 22:24:00 +09:00
rmackay9
4ad8c402b0
ThirdOrderCompFilter3D: fix compiler error
2012-11-07 19:47:48 +09:00
rmackay9
9b4d107e96
ThirdOrderCompFilter3D: first implementation of complementary filter for use with inertial navigation
2012-11-07 19:20:43 +09:00
uncrustify
67778c7c37
uncrustify libraries/Filter/Filter.h
2012-08-21 19:04:30 -07:00
uncrustify
c09a7ea4b4
uncrustify libraries/Filter/ModeFilter.h
2012-08-21 19:04:30 -07:00
uncrustify
baccb98625
uncrustify libraries/Filter/LowPassFilter.h
2012-08-21 19:04:30 -07:00
uncrustify
51346f4790
uncrustify libraries/Filter/FilterWithBuffer.h
2012-08-21 19:04:30 -07:00
uncrustify
b743ed39b0
uncrustify libraries/Filter/AverageFilter.h
2012-08-21 19:04:30 -07:00
uncrustify
6bfccd13f8
uncrustify libraries/Filter/DerivativeFilter.h
2012-08-21 19:04:30 -07:00
uncrustify
973dcba9ab
uncrustify libraries/Filter/DerivativeFilter.cpp
2012-08-21 19:04:29 -07:00
uncrustify
e5b317cb42
uncrustify libraries/Filter/examples/Derivative/Derivative.pde
2012-08-21 19:04:29 -07:00
uncrustify
70d18ec87c
uncrustify libraries/Filter/examples/Filter/Filter.pde
2012-08-21 19:04:29 -07:00
uncrustify
e742a26bd5
uncrustify libraries/Filter/examples/LowPassFilter/LowPassFilter.pde
2012-08-21 19:04:29 -07:00
Andrew Tridgell
adda41a2ec
Filter: ensure the derivative filter never returns an invalid number
2012-08-18 13:54:11 +10:00
Andrew Tridgell
16d63978f1
MAVLink: moved mavlink variables back to library
...
these were moved to the main sketches to allow for compile time
selection of MAVLink 0.9 vs 1.0. We no longer support 0.9, so we can
move it back, which simplifies some test sketches
2012-08-09 12:06:21 +10:00
Andrew Tridgell
fb90d16092
Filter: make the DerivativeFilter test GNUPlot friendly
...
makes testing easier
2012-08-08 12:07:36 +10:00
Andrew Tridgell
2de06df08d
Filter: automatically cope with duplicate timestamps
...
this makes it easier for callers to avoid excessive slope calculations
Thanks to Jon Challinger for the idea
2012-08-08 12:07:35 +10:00
Andrew Tridgell
c9a56e2223
Filter: fixed a off-by-one DerivativeFilter bug
...
many thanks to Jon Challinger for noticing this!
2012-08-08 12:07:35 +10:00
Andrew Tridgell
43d6015811
Filter: split the DerivativeFilter steps into update() and slope()
...
this allows us to apply new data at a different rate than we calculate
the slope.
2012-07-06 15:11:30 +10:00
Andrew Tridgell
9f3da1bf7f
Filter: fixed DerivativeFilter example build
2012-07-05 16:29:21 +10:00
Andrew Tridgell
92001e3e7d
Filter: fixed typo in 9 point DerivativeFilter
2012-07-05 16:29:20 +10:00
Andrew Tridgell
a07e280eda
Filter: cope with non-uniform time steps in the DerivativeFilter
...
this helps with the barometer a lot, as the timing is quite variable
2012-07-05 13:00:47 +10:00
Andrew Tridgell
f97289792b
Filter: added DerivativeFilter implementation
...
this adds a DerivativeFilter implementation of up to 10 points
2012-07-05 13:00:46 +10:00
Andrew Tridgell
9fd3d15026
Filter: added 5 point average float filter
2012-06-27 16:01:50 +10:00
rmackay9
fd5e1c2f7b
Filter - added FilterWithBuffer typedefs for int32t and uint32 for ease of use
2012-03-28 22:02:52 +09:00
rmackay9
2324be7e68
Filter - added simple LowPassFilter (simple but it's possible to make errors with simple stuff too so might as well have one)
2012-03-25 16:15:25 +09:00
rmackay9
bdda74fd28
Filter - remove obsolete warning from comments re alloc/malloc dangers
2012-03-25 16:14:07 +09:00
rmackay9
5b89c65d9c
Filter - updated example sketch to use modified library
2012-02-28 21:01:35 +09:00
rmackay9
d17a015df1
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
747e045193
ModeFilter - corrected shadowed variable compiler warning for drop_high_sample
2012-02-26 17:57:28 +09:00
rmackay9
e01477a7a8
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
rmackay9
b345529241
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
ae8fd43335
Filter - first version of filter library include ModeFilter
2012-02-26 15:34:05 +09:00