Cheetah Software  1.0
LegControllerCommand< T > Struct Template Reference

#include <LegController.h>

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

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW LegControllerCommand ()
 
void zero ()
 

Public Attributes

Vec3< T > tauFeedForward
 
Vec3< T > forceFeedForward
 
Vec3< T > qDes
 
Vec3< T > qdDes
 
Vec3< T > pDes
 
Vec3< T > vDes
 
Mat3< T > kpCartesian
 
Mat3< T > kdCartesian
 
Mat3< T > kpJoint
 
Mat3< T > kdJoint
 

Detailed Description

template<typename T>
struct LegControllerCommand< T >

Definition at line 23 of file LegController.h.

Constructor & Destructor Documentation

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

Definition at line 25 of file LegController.h.

25 { zero(); }

Member Function Documentation

template<typename T >
void LegControllerCommand< T >::zero ( )

Zero the leg command so the leg will not output torque

Definition at line 19 of file LegController.cpp.

19  {
22  qDes = Vec3<T>::Zero();
23  qdDes = Vec3<T>::Zero();
24  pDes = Vec3<T>::Zero();
25  vDes = Vec3<T>::Zero();
30 }
typename Eigen::Matrix< T, 3, 3 > Mat3
Definition: cppTypes.h:54
Vec3< T > forceFeedForward
Definition: LegController.h:29
typename Eigen::Matrix< T, 3, 1 > Vec3
Definition: cppTypes.h:26
Vec3< T > tauFeedForward
Definition: LegController.h:29

+ Here is the caller graph for this function:

Member Data Documentation

template<typename T>
Vec3<T> LegControllerCommand< T >::forceFeedForward

Definition at line 29 of file LegController.h.

template<typename T>
Mat3<T> LegControllerCommand< T >::kdCartesian

Definition at line 30 of file LegController.h.

template<typename T>
Mat3<T> LegControllerCommand< T >::kdJoint

Definition at line 30 of file LegController.h.

template<typename T>
Mat3<T> LegControllerCommand< T >::kpCartesian

Definition at line 30 of file LegController.h.

template<typename T>
Mat3<T> LegControllerCommand< T >::kpJoint

Definition at line 30 of file LegController.h.

template<typename T>
Vec3<T> LegControllerCommand< T >::pDes

Definition at line 29 of file LegController.h.

template<typename T>
Vec3<T> LegControllerCommand< T >::qdDes

Definition at line 29 of file LegController.h.

template<typename T>
Vec3<T> LegControllerCommand< T >::qDes

Definition at line 29 of file LegController.h.

template<typename T>
Vec3<T> LegControllerCommand< T >::tauFeedForward

Definition at line 29 of file LegController.h.

template<typename T>
Vec3<T> LegControllerCommand< T >::vDes

Definition at line 29 of file LegController.h.


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