mirror of https://github.com/ArduPilot/ardupilot
825d10c81a
We are currently not using LowPassFilter2p<double> and it just generates a lot of warnings on PX4 while instantiating it due to implicitly promoting float to double: libraries/Filter/LowPassFilter2p.cpp: In instantiation of 'T DigitalBiquadFilter<T>::apply(const T&, const DigitalBiquadFilter<T>::biquad_params&) [with T = double]': libraries/Filter/LowPassFilter2p.cpp:86:41: required from 'T LowPassFilter2p<T>::apply(const T&) [with T = double]' libraries/Filter/LowPassFilter2p.cpp:98:16: required from here libraries/Filter/LowPassFilter2p.cpp:20:82: warning: implicit conversion from 'float' to 'double' to match other operand of binary expression [-Wdouble-promotion] T delay_element_0 = sample - _delay_element_1 * params.a1 - _delay_element_2 * params.a2; ^ |
||
---|---|---|
.. | ||
examples | ||
AverageFilter.h | ||
Butter.h | ||
DerivativeFilter.cpp | ||
DerivativeFilter.h | ||
Filter.h | ||
FilterClass.h | ||
FilterWithBuffer.h | ||
LowPassFilter.cpp | ||
LowPassFilter.h | ||
LowPassFilter2p.cpp | ||
LowPassFilter2p.h | ||
ModeFilter.h | ||
keywords.txt |