ocra-recipes
Doxygen documentation for the ocra-recipes repository
Public Member Functions | Friends | List of all members
ocra::TaskState Class Reference

#include <TaskState.h>

Public Member Functions

 TaskState ()
 
virtual ~TaskState ()
 
Eigen::Displacementd getPosition () const
 
Eigen::Twistd getVelocity () const
 
Eigen::Twistd getAcceleration () const
 
Eigen::VectorXd getQ () const
 
Eigen::VectorXd getQd () const
 
Eigen::VectorXd getQdd () const
 
Eigen::VectorXd getTorque () const
 
Eigen::Wrenchd getWrench () const
 
void setPosition (const Eigen::Displacementd &newPosition)
 
void setVelocity (const Eigen::Twistd &newVelocity)
 
void setAcceleration (const Eigen::Twistd &newAcceleration)
 
void setQ (const Eigen::VectorXd &newQ)
 
void setQd (const Eigen::VectorXd &newQd)
 
void setQdd (const Eigen::VectorXd &newQdd)
 
void setTorque (const Eigen::VectorXd &newTorque)
 
void setWrench (const Eigen::Wrenchd &newWrench)
 
bool hasPosition () const
 
bool hasVelocity () const
 
bool hasAcceleration () const
 
bool hasQ () const
 
bool hasQd () const
 
bool hasQdd () const
 
bool hasTorque () const
 
bool hasWrench () const
 
bool extractFromBottle (const yarp::os::Bottle &bottle, int &sizeOfOptions)
 
void putIntoBottle (yarp::os::Bottle &bottle) const
 

Friends

std::ostream & operator<< (std::ostream &out, const TaskState &state)
 

Detailed Description

Definition at line 14 of file TaskState.h.

Constructor & Destructor Documentation

TaskState::TaskState ( )

Definition at line 5 of file TaskState.cpp.

TaskState::~TaskState ( )
virtual

Definition at line 26 of file TaskState.cpp.

Member Function Documentation

bool TaskState::extractFromBottle ( const yarp::os::Bottle &  bottle,
int &  sizeOfOptions 
)

Definition at line 174 of file TaskState.cpp.

Eigen::Twistd TaskState::getAcceleration ( ) const

Definition at line 43 of file TaskState.cpp.

Eigen::Displacementd TaskState::getPosition ( ) const

Definition at line 31 of file TaskState.cpp.

Eigen::VectorXd TaskState::getQ ( ) const

Definition at line 49 of file TaskState.cpp.

Eigen::VectorXd TaskState::getQd ( ) const

Definition at line 55 of file TaskState.cpp.

Eigen::VectorXd TaskState::getQdd ( ) const

Definition at line 61 of file TaskState.cpp.

Eigen::VectorXd TaskState::getTorque ( ) const

Definition at line 67 of file TaskState.cpp.

Eigen::Twistd TaskState::getVelocity ( ) const

Definition at line 37 of file TaskState.cpp.

Eigen::Wrenchd TaskState::getWrench ( ) const

Definition at line 73 of file TaskState.cpp.

bool TaskState::hasAcceleration ( ) const

Definition at line 144 of file TaskState.cpp.

bool TaskState::hasPosition ( ) const

Definition at line 134 of file TaskState.cpp.

bool TaskState::hasQ ( ) const

Definition at line 149 of file TaskState.cpp.

bool TaskState::hasQd ( ) const

Definition at line 154 of file TaskState.cpp.

bool TaskState::hasQdd ( ) const

Definition at line 159 of file TaskState.cpp.

bool TaskState::hasTorque ( ) const

Definition at line 164 of file TaskState.cpp.

bool TaskState::hasVelocity ( ) const

Definition at line 139 of file TaskState.cpp.

bool TaskState::hasWrench ( ) const

Definition at line 169 of file TaskState.cpp.

void TaskState::putIntoBottle ( yarp::os::Bottle &  bottle) const

Definition at line 230 of file TaskState.cpp.

void TaskState::setAcceleration ( const Eigen::Twistd &  newAcceleration)

Definition at line 93 of file TaskState.cpp.

void TaskState::setPosition ( const Eigen::Displacementd &  newPosition)

Definition at line 79 of file TaskState.cpp.

void TaskState::setQ ( const Eigen::VectorXd &  newQ)

Definition at line 100 of file TaskState.cpp.

void TaskState::setQd ( const Eigen::VectorXd &  newQd)

Definition at line 107 of file TaskState.cpp.

void TaskState::setQdd ( const Eigen::VectorXd &  newQdd)

Definition at line 114 of file TaskState.cpp.

void TaskState::setTorque ( const Eigen::VectorXd &  newTorque)

Definition at line 121 of file TaskState.cpp.

void TaskState::setVelocity ( const Eigen::Twistd &  newVelocity)

Definition at line 86 of file TaskState.cpp.

void TaskState::setWrench ( const Eigen::Wrenchd &  newWrench)

Definition at line 128 of file TaskState.cpp.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const TaskState state 
)
friend

Definition at line 78 of file TaskState.h.


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