LocalGuidance
A library that generates velocity references to follow a path.
robot_utils::FilteredVariable< T > Class Template Reference

#include <FilteredVariable.hpp>

Public Member Functions

T & operator= (const T &other)
 
 FilteredVariable (void)
 
 FilteredVariable (const T &other)
 
 FilteredVariable (const T &other, double a)
 
void setAlpha (double a)
 
 ~FilteredVariable (void)
 
void initialize (const T &other)
 
void reset ()
 
void update (const T &newVal)
 
bool isInitialized ()
 
val ()
 

Public Attributes

value
 
double alpha
 
bool initialized
 

Detailed Description

template<class T>
class robot_utils::FilteredVariable< T >

implements a low-pass filter.

Constructor & Destructor Documentation

template<class T >
robot_utils::FilteredVariable< T >::FilteredVariable ( void  )
inline
template<class T >
robot_utils::FilteredVariable< T >::FilteredVariable ( const T &  other)
inline
template<class T >
robot_utils::FilteredVariable< T >::FilteredVariable ( const T &  other,
double  a 
)
inline
template<class T >
robot_utils::FilteredVariable< T >::~FilteredVariable ( void  )
inline

Member Function Documentation

template<class T >
void robot_utils::FilteredVariable< T >::initialize ( const T &  other)
inline
template<class T >
bool robot_utils::FilteredVariable< T >::isInitialized ( )
inline
template<class T >
T& robot_utils::FilteredVariable< T >::operator= ( const T &  other)
inline
template<class T >
void robot_utils::FilteredVariable< T >::reset ( )
inline
template<class T >
void robot_utils::FilteredVariable< T >::setAlpha ( double  a)
inline
template<class T >
void robot_utils::FilteredVariable< T >::update ( const T &  newVal)
inline
template<class T >
T robot_utils::FilteredVariable< T >::val ( )
inline

Member Data Documentation

template<class T >
double robot_utils::FilteredVariable< T >::alpha
template<class T >
bool robot_utils::FilteredVariable< T >::initialized
template<class T >
T robot_utils::FilteredVariable< T >::value

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