ros2_control - humble
|
A exponential filter class. More...
#include <exponential_filter.hpp>
Public Member Functions | |
bool | configure () override |
Configure the ExponentialFilter (access and process params). | |
bool | update (const T &data_in, T &data_out) override |
Applies one iteration of the exponential filter. | |
A exponential filter class.
This class implements a low-pass filter for various data types.
The ExponentialFilter class is meant to be instantiated as a filter in a controller but can also be used elsewhere. For manual instantiation, you should first call configure() (in non-realtime) and then call update() at every update step.
|
override |
Applies one iteration of the exponential filter.
data_in | input to the filter |
data_out | filtered output |