robotoc
robotoc - efficient ROBOT Optimal Control solvers
|
Moving window filter for foot step planning. More...
#include <moving_window_filter.hpp>
Public Types | |
using | Vector = Eigen::Matrix< double, dim, 1 > |
Public Member Functions | |
MovingWindowFilter (const double time_length, const double min_sampling_period=0.0) | |
Constructs the filter. More... | |
MovingWindowFilter () | |
Default constructor. More... | |
~MovingWindowFilter () | |
Destructor. More... | |
MovingWindowFilter (const MovingWindowFilter &)=default | |
Default copy constructor. More... | |
MovingWindowFilter & | operator= (const MovingWindowFilter &)=default |
Default copy assign operator. More... | |
MovingWindowFilter (MovingWindowFilter &&) noexcept=default | |
Default move constructor. More... | |
MovingWindowFilter & | operator= (MovingWindowFilter &&) noexcept=default |
Default move assign operator. More... | |
void | setParameters (const double time_length, const double min_sampling_period=0.0) |
Set parameters of the filter. More... | |
void | clear () |
Clear the filter. More... | |
void | push_back (const double t, const Vector &data) |
Push back a data. More... | |
int | size () const |
Gets the current data size. More... | |
const Vector & | average () const |
Gets the average. More... | |
Moving window filter for foot step planning.
using robotoc::MovingWindowFilter< dim >::Vector = Eigen::Matrix<double, dim, 1> |
|
inline |
Constructs the filter.
[in] | time_length | Time length (seconds) of the filter. |
[in] | min_sampling_period | Minimum sampling period. Must be non-negative. Default is zero. |
|
inline |
Default constructor.
|
inline |
Destructor.
|
default |
Default copy constructor.
|
defaultnoexcept |
Default move constructor.
|
inline |
Gets the average.
|
inline |
Clear the filter.
|
default |
Default copy assign operator.
|
defaultnoexcept |
Default move assign operator.
|
inline |
Push back a data.
[in] | t | Time of the data sampling. |
[in] | data | The data. |
|
inline |
Set parameters of the filter.
[in] | time_length | Time length (seconds) of the filter. |
[in] | min_sampling_period | Minimum sampling period. Must be non-negative. Default is zero. |
|
inline |
Gets the current data size.