mirror of https://github.com/ArduPilot/ardupilot
Filter: added 5 point average float filter
This commit is contained in:
parent
1ff9461bfb
commit
9fd3d15026
|
@ -64,6 +64,8 @@ typedef AverageFilter<uint32_t,float,3> AverageFilterUInt32_Size3;
|
||||||
typedef AverageFilter<uint32_t,float,4> AverageFilterUInt32_Size4;
|
typedef AverageFilter<uint32_t,float,4> AverageFilterUInt32_Size4;
|
||||||
typedef AverageFilter<uint32_t,float,5> AverageFilterUInt32_Size5;
|
typedef AverageFilter<uint32_t,float,5> AverageFilterUInt32_Size5;
|
||||||
|
|
||||||
|
typedef AverageFilter<float,float,5> AverageFilterFloat_Size5;
|
||||||
|
|
||||||
// Public Methods //////////////////////////////////////////////////////////////
|
// Public Methods //////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
template <class T, class U, uint8_t FILTER_SIZE>
|
template <class T, class U, uint8_t FILTER_SIZE>
|
||||||
|
|
Loading…
Reference in New Issue