LocalGuidance
A library that generates velocity references to follow a path.
robot_utils::SecondOrderFilteredVariable Class Reference

#include <FilteredVariable.hpp>

Public Member Functions

 SecondOrderFilteredVariable ()
 
void update (double x_new, double(*filter)(double x_oldest, double x_old, double x_new, double y_oldest, double y_old, double filtereParameter)=NULL, double filterParameter=0)
 
double getCurrentValue ()
 
void setCurrentValue (double v)
 

Public Attributes

double x_oldest
 
double x_old
 
double y_oldest
 
double y_old
 

Detailed Description

this is a class that can be used for second-order filtered variables

Constructor & Destructor Documentation

robot_utils::SecondOrderFilteredVariable::SecondOrderFilteredVariable ( )
inline

Member Function Documentation

double robot_utils::SecondOrderFilteredVariable::getCurrentValue ( )
inline
void robot_utils::SecondOrderFilteredVariable::setCurrentValue ( double  v)
inline
void robot_utils::SecondOrderFilteredVariable::update ( double  x_new,
double(*)(double x_oldest, double x_old, double x_new, double y_oldest, double y_old, double filtereParameter)  filter = NULL,
double  filterParameter = 0 
)
inline

Member Data Documentation

double robot_utils::SecondOrderFilteredVariable::x_old
double robot_utils::SecondOrderFilteredVariable::x_oldest
double robot_utils::SecondOrderFilteredVariable::y_old
double robot_utils::SecondOrderFilteredVariable::y_oldest

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