MeanFilter
The MeanFilter calculates the output for N one-dimensional digital filters. Where the input, x, is a (N x 1) vector of inputs and the output, y, is a (N x 1) vector of outputs. The filter is described by number of observations, obs, and implemented using the standard difference equation:
- y[n] = (x[n] + x[n-1] + ... + x[n-obs])/obs
ROS API
Parameters
~name (string, default: Required)- Name of the filter
- The filter's typename as declared in it's pluginlib registration: MultiChannelMeanFilterDouble or MeanFilterDouble
- The order of the filter
Example Configuration:
FifthOrder: name: my_filter type: MultiChannelMeanFilterDouble params: number_of_observations: 5