Andrew Tridgell
b7f0735c2b
Filter: convert example from .pde to .cpp
10 years ago
Tom Pittenger
6d1b517aae
Filter: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Randy Mackay
06ea18f97e
Filter: fix LPF example sketch
10 years ago
Jonathan Challinger
0133f0bb57
LowPassFilter2p: split into LowPassFilter2pfloat and LowPassFilter2pVector3f
10 years ago
Andrew Tridgell
b16d84023e
Filter: fixed example build
11 years ago
Andrew Tridgell
99da118faa
Filter: added in Leonards LowPassFilter2p filter
...
this is a backport from PX4
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Andrew Tridgell
d00b06d449
Filter: added a butter filter to example
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
2ba2e1c279
Derivative: removed reference to DESKTOP_BUILD
12 years ago
rmackay9
120b494d83
Filter: #include AP_Buffer.h no longer needed now that completementary filter has been moved to InertialNav library
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Andrew Tridgell
32afc3f9ae
Filter: fixed example warnings
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
c56c4ae240
Various example sketches: hal.uart0->begin(115200) is redundant. use console.
...
just assume uart0 is initialized by the HAL, because it is. DRY.
also, don't ever use uart0 explicitly in example sketches, use console
and let the hal figure it out.
12 years ago
Pat Hickey
84e0dd406e
Filter: ported to AP_HAL
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
Andrew Tridgell
5a0632340c
Filter: fixed example build
12 years ago
rmackay9
957d366cca
Filter: improved low pass filter allows setting gain using time_step and cutoff freq
12 years ago
rmackay9
50a4838879
AP_Motors, AP_RangeFinder, Filter: fixes to example sketches
12 years ago
uncrustify
44598c1be7
uncrustify libraries/Filter/examples/Derivative/Derivative.pde
13 years ago
uncrustify
19ad85b27f
uncrustify libraries/Filter/examples/Filter/Filter.pde
13 years ago
uncrustify
d0a2877188
uncrustify libraries/Filter/examples/LowPassFilter/LowPassFilter.pde
13 years ago
Andrew Tridgell
2a7b298bbc
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
13 years ago
Andrew Tridgell
77f3b60b6f
Filter: make the DerivativeFilter test GNUPlot friendly
...
makes testing easier
13 years ago
Andrew Tridgell
6534dab719
Filter: fixed DerivativeFilter example build
13 years ago
Andrew Tridgell
75470dc912
Filter: cope with non-uniform time steps in the DerivativeFilter
...
this helps with the barometer a lot, as the timing is quite variable
13 years ago
rmackay9
2b2dbf2a7f
Filter - added simple LowPassFilter (simple but it's possible to make errors with simple stuff too so might as well have one)
13 years ago
rmackay9
033347f8ee
Filter - updated example sketch to use modified library
13 years ago
rmackay9
c14d7768f7
Filter - first version of filter library include ModeFilter
13 years ago