Cheetah Software  1.0
CheaterPositionVelocityEstimator< T > Class Template Reference

#include <PositionVelocityEstimator.h>

+ Inheritance diagram for CheaterPositionVelocityEstimator< T >:
+ Collaboration diagram for CheaterPositionVelocityEstimator< T >:

Public Member Functions

virtual void run ()
 
virtual void setup ()
 
- Public Member Functions inherited from GenericEstimator< T >
void setData (StateEstimatorData< T > data)
 
virtual ~GenericEstimator ()=default
 

Additional Inherited Members

- Public Attributes inherited from GenericEstimator< T >
StateEstimatorData< T > _stateEstimatorData
 

Detailed Description

template<typename T>
class CheaterPositionVelocityEstimator< T >

Definition at line 36 of file PositionVelocityEstimator.h.

Member Function Documentation

template<typename T >
void CheaterPositionVelocityEstimator< T >::run ( )
virtual

Implements GenericEstimator< T >.

Definition at line 180 of file PositionVelocityEstimator.cpp.

180  {
181  this->_stateEstimatorData.result->position = this->_stateEstimatorData.cheaterState->position.template cast<T>();
182  this->_stateEstimatorData.result->vWorld =
183  this->_stateEstimatorData.result->rBody.transpose().template cast<T>() * this->_stateEstimatorData.cheaterState->vBody.template cast<T>();
184  this->_stateEstimatorData.result->vBody = this->_stateEstimatorData.cheaterState->vBody.template cast<T>();
185 }
StateEstimatorData< T > _stateEstimatorData
template<typename T >
virtual void CheaterPositionVelocityEstimator< T >::setup ( )
inlinevirtual

Implements GenericEstimator< T >.

Definition at line 39 of file PositionVelocityEstimator.h.

39 {}

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