ocra-recipes
Doxygen documentation for the ocra-recipes repository
Functions
ocra::util Namespace Reference

Functions

Eigen::Displacementd eigenVectorToDisplacementd (const Eigen::VectorXd &eigenVector)
 
std::vector< Eigen::Displacementd > eigenVectorToDisplacementd (const std::vector< Eigen::VectorXd > &eigenVector)
 
Eigen::Twistd eigenVectorToTwistd (const Eigen::VectorXd &eigenVector, bool linearOnly=true, bool angularOnly=false)
 
Eigen::Wrenchd eigenVectorToWrenchd (const Eigen::VectorXd &eigenVector, bool linearOnly=true, bool angularOnly=false)
 
std::string convertToLowerCase (const std::string &originalString)
 
std::string convertToUpperCase (const std::string &originalString)
 
Eigen::VectorXd stringToVectorXd (const char *valueString)
 
Eigen::VectorXi stringToVectorXi (const char *valueString)
 
std::string getDisplacementArgs (TiXmlElement *xmlElem)
 
std::vector< double > pourBottleIntoStdVector (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::VectorXd pourBottleIntoEigenVector (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::VectorXi pourBottleIntoEigenVectorXi (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::Displacementd pourBottleIntoDisplacementd (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::Twistd pourBottleIntoTwistd (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::Wrenchd pourBottleIntoWrenchd (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::MatrixXd pourBottleIntoEigenMatrix (yarp::os::Bottle bottle, int &indexesToSkip)
 
void pourStdVectorIntoBottle (const std::vector< double > &vec, yarp::os::Bottle &bottle)
 
void pourEigenVectorIntoBottle (const Eigen::VectorXd &vec, yarp::os::Bottle &bottle)
 
void pourEigenVectorXiIntoBottle (const Eigen::VectorXi &vec, yarp::os::Bottle &bottle)
 
void pourEigenMatrixIntoBottle (const Eigen::MatrixXd &mat, yarp::os::Bottle &bottle)
 
void pourDisplacementdIntoBottle (const Eigen::Displacementd &disp, yarp::os::Bottle &bottle)
 
void pourTwistdIntoBottle (const Eigen::Twistd &twist, yarp::os::Bottle &bottle)
 
void pourWrenchdIntoBottle (const Eigen::Wrenchd &wrench, yarp::os::Bottle &bottle)
 
yarp::os::Bottle trimBottle (const yarp::os::Bottle &bottle, int startIndex, int endIndex=-1)
 

Function Documentation

std::string ocra::util::convertToLowerCase ( const std::string &  originalString)
inline

Definition at line 13 of file StringUtilities.h.

std::string ocra::util::convertToUpperCase ( const std::string &  originalString)
inline

Definition at line 20 of file StringUtilities.h.

Eigen::Displacementd ocra::util::eigenVectorToDisplacementd ( const Eigen::VectorXd &  eigenVector)
inline

Definition at line 12 of file EigenUtilities.h.

std::vector<Eigen::Displacementd> ocra::util::eigenVectorToDisplacementd ( const std::vector< Eigen::VectorXd > &  eigenVector)
inline

Definition at line 29 of file EigenUtilities.h.

Eigen::Twistd ocra::util::eigenVectorToTwistd ( const Eigen::VectorXd &  eigenVector,
bool  linearOnly = true,
bool  angularOnly = false 
)
inline

Definition at line 39 of file EigenUtilities.h.

Eigen::Wrenchd ocra::util::eigenVectorToWrenchd ( const Eigen::VectorXd &  eigenVector,
bool  linearOnly = true,
bool  angularOnly = false 
)
inline

Definition at line 54 of file EigenUtilities.h.

std::string ocra::util::getDisplacementArgs ( TiXmlElement *  xmlElem)
inline

Definition at line 13 of file XmlUtilities.h.

Eigen::Displacementd ocra::util::pourBottleIntoDisplacementd ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 49 of file YarpUtilities.h.

Eigen::MatrixXd ocra::util::pourBottleIntoEigenMatrix ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 92 of file YarpUtilities.h.

Eigen::VectorXd ocra::util::pourBottleIntoEigenVector ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 27 of file YarpUtilities.h.

Eigen::VectorXi ocra::util::pourBottleIntoEigenVectorXi ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 38 of file YarpUtilities.h.

std::vector<double> ocra::util::pourBottleIntoStdVector ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 16 of file YarpUtilities.h.

Eigen::Twistd ocra::util::pourBottleIntoTwistd ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 64 of file YarpUtilities.h.

Eigen::Wrenchd ocra::util::pourBottleIntoWrenchd ( yarp::os::Bottle  bottle,
int &  indexesToSkip 
)
inline

Definition at line 78 of file YarpUtilities.h.

void ocra::util::pourDisplacementdIntoBottle ( const Eigen::Displacementd &  disp,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 160 of file YarpUtilities.h.

void ocra::util::pourEigenMatrixIntoBottle ( const Eigen::MatrixXd &  mat,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 145 of file YarpUtilities.h.

void ocra::util::pourEigenVectorIntoBottle ( const Eigen::VectorXd &  vec,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 121 of file YarpUtilities.h.

void ocra::util::pourEigenVectorXiIntoBottle ( const Eigen::VectorXi &  vec,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 133 of file YarpUtilities.h.

void ocra::util::pourStdVectorIntoBottle ( const std::vector< double > &  vec,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 109 of file YarpUtilities.h.

void ocra::util::pourTwistdIntoBottle ( const Eigen::Twistd &  twist,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 175 of file YarpUtilities.h.

void ocra::util::pourWrenchdIntoBottle ( const Eigen::Wrenchd &  wrench,
yarp::os::Bottle &  bottle 
)
inline

Definition at line 195 of file YarpUtilities.h.

Eigen::VectorXd ocra::util::stringToVectorXd ( const char *  valueString)
inline

Definition at line 27 of file StringUtilities.h.

Eigen::VectorXi ocra::util::stringToVectorXi ( const char *  valueString)
inline

Definition at line 60 of file StringUtilities.h.

yarp::os::Bottle ocra::util::trimBottle ( const yarp::os::Bottle &  bottle,
int  startIndex,
int  endIndex = -1 
)
inline

Definition at line 208 of file YarpUtilities.h.