ocra-recipes
Doxygen documentation for the ocra-recipes repository
Namespaces | Functions
YarpUtilities.h File Reference
#include <iostream>
#include <vector>
#include <Eigen/Dense>
#include <Eigen/Lgsm>
#include <yarp/os/Bottle.h>
Include dependency graph for YarpUtilities.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ocra
 Optimization-based Robot Controller namespace. a library of classes to write and solve optimization problems dedicated to the control of multi-body systems.
 
 ocra::util
 

Functions

std::vector< double > ocra::util::pourBottleIntoStdVector (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::VectorXd ocra::util::pourBottleIntoEigenVector (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::VectorXi ocra::util::pourBottleIntoEigenVectorXi (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::Displacementd ocra::util::pourBottleIntoDisplacementd (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::Twistd ocra::util::pourBottleIntoTwistd (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::Wrenchd ocra::util::pourBottleIntoWrenchd (yarp::os::Bottle bottle, int &indexesToSkip)
 
Eigen::MatrixXd ocra::util::pourBottleIntoEigenMatrix (yarp::os::Bottle bottle, int &indexesToSkip)
 
void ocra::util::pourStdVectorIntoBottle (const std::vector< double > &vec, yarp::os::Bottle &bottle)
 
void ocra::util::pourEigenVectorIntoBottle (const Eigen::VectorXd &vec, yarp::os::Bottle &bottle)
 
void ocra::util::pourEigenVectorXiIntoBottle (const Eigen::VectorXi &vec, yarp::os::Bottle &bottle)
 
void ocra::util::pourEigenMatrixIntoBottle (const Eigen::MatrixXd &mat, yarp::os::Bottle &bottle)
 
void ocra::util::pourDisplacementdIntoBottle (const Eigen::Displacementd &disp, yarp::os::Bottle &bottle)
 
void ocra::util::pourTwistdIntoBottle (const Eigen::Twistd &twist, yarp::os::Bottle &bottle)
 
void ocra::util::pourWrenchdIntoBottle (const Eigen::Wrenchd &wrench, yarp::os::Bottle &bottle)
 
yarp::os::Bottle ocra::util::trimBottle (const yarp::os::Bottle &bottle, int startIndex, int endIndex=-1)