ros2_control - galactic
Loading...
Searching...
No Matches
Public Member Functions | List of all members
diff_drive_controller::RollingMeanAccumulator< T > Class Template Reference

Simplification of boost::accumulators::accumulator_set<double, bacc::stats<bacc::tag::rolling_mean>> to avoid dragging boost dependencies. More...

#include <rolling_mean_accumulator.hpp>

Public Member Functions

 RollingMeanAccumulator (size_t rolling_window_size)
 
void accumulate (T val)
 
getRollingMean () const
 

Detailed Description

template<typename T>
class diff_drive_controller::RollingMeanAccumulator< T >

Simplification of boost::accumulators::accumulator_set<double, bacc::stats<bacc::tag::rolling_mean>> to avoid dragging boost dependencies.

Computes the mean of the last accumulated elements


The documentation for this class was generated from the following file: