Cheetah Software  1.0
LegControllerData< T > Struct Template Reference

#include <LegController.h>

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

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW LegControllerData ()
 
void setQuadruped (Quadruped< T > &quad)
 
void zero ()
 

Public Attributes

Vec3< T > q
 
Vec3< T > qd
 
Vec3< T > p
 
Vec3< T > v
 
Mat3< T > J
 
Vec3< T > tauEstimate
 
Quadruped< T > * quadruped
 

Detailed Description

template<typename T>
struct LegControllerData< T >

Definition at line 34 of file LegController.h.

Constructor & Destructor Documentation

template<typename T>
EIGEN_MAKE_ALIGNED_OPERATOR_NEW LegControllerData< T >::LegControllerData ( )
inline

Definition at line 36 of file LegController.h.

36 { zero(); }

Member Function Documentation

template<typename T>
void LegControllerData< T >::setQuadruped ( Quadruped< T > &  quad)
inline

Definition at line 38 of file LegController.h.

38 { quadruped = &quad; }
Quadruped< T > * quadruped
Definition: LegController.h:45
template<typename T >
void LegControllerData< T >::zero ( )

Definition at line 33 of file LegController.cpp.

33  {
34  q = Vec3<T>::Zero();
35  qd = Vec3<T>::Zero();
36  p = Vec3<T>::Zero();
37  v = Vec3<T>::Zero();
38  J = Mat3<T>::Zero();
40 }
typename Eigen::Matrix< T, 3, 3 > Mat3
Definition: cppTypes.h:54
Vec3< T > tauEstimate
Definition: LegController.h:44
typename Eigen::Matrix< T, 3, 1 > Vec3
Definition: cppTypes.h:26

Member Data Documentation

template<typename T>
Mat3<T> LegControllerData< T >::J

Definition at line 43 of file LegController.h.

template<typename T>
Vec3<T> LegControllerData< T >::p

Definition at line 42 of file LegController.h.

template<typename T>
Vec3<T> LegControllerData< T >::q

Definition at line 42 of file LegController.h.

template<typename T>
Vec3<T> LegControllerData< T >::qd

Definition at line 42 of file LegController.h.

template<typename T>
Quadruped<T>* LegControllerData< T >::quadruped

Definition at line 45 of file LegController.h.

template<typename T>
Vec3<T> LegControllerData< T >::tauEstimate

Definition at line 44 of file LegController.h.

template<typename T>
Vec3<T> LegControllerData< T >::v

Definition at line 42 of file LegController.h.


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