utils.h File Reference

#include "LinearMath/btTransform.h"
#include "articulation_msgs/TrackMsg.h"
#include "articulation_msgs/ParamMsg.h"
#include <Eigen/Core>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  articulation_models

Defines

#define MAX(a, b)   ((a>=b)?(a):(b))
#define MIN(a, b)   ((a<=b)?(a):(b))
#define PRINT_TRANSFORM(tf)
#define SQR(a)   ((a)*(a))

Typedefs

typedef Eigen::MatrixXd articulation_models::M_CartesianJacobian
typedef Eigen::VectorXd articulation_models::V_Configuration

Functions

bool articulation_models::check_values (float v)
bool articulation_models::check_values (double v)
bool articulation_models::check_values (const btQuaternion &vec)
bool articulation_models::check_values (const btVector3 &vec)
geometry_msgs::Point articulation_models::eigenToPoint (Eigen::VectorXd v)
articulation_msgs::TrackMsg articulation_models::flipTrack (articulation_msgs::TrackMsg input, int corner=0)
double articulation_models::getParam (std::vector< articulation_msgs::ParamMsg > &vec, std::string name)
bool articulation_models::hasParam (std::vector< articulation_msgs::ParamMsg > &vec, std::string name)
int articulation_models::openChannel (articulation_msgs::TrackMsg &track, std::string name, bool autocreate=true)
btQuaternion articulation_models::orientationToQuaternion (geometry_msgs::Quaternion orientation)
Eigen::VectorXd articulation_models::pointToEigen (geometry_msgs::Point p)
btTransform articulation_models::poseToTransform (geometry_msgs::Pose pose)
btVector3 articulation_models::positionToVector (geometry_msgs::Point position)
geometry_msgs::Quaternion articulation_models::quaternionToOrientation (btQuaternion quat)
void articulation_models::setParam (std::vector< articulation_msgs::ParamMsg > &vec, std::string name, double value, uint8_t type=articulation_msgs::ParamMsg::PRIOR)
void articulation_models::setParamIfNotDefined (std::vector< articulation_msgs::ParamMsg > &vec, std::string name, double value, uint8_t type=articulation_msgs::ParamMsg::PRIOR)
geometry_msgs::Pose articulation_models::transformToPose (btTransform transform)
geometry_msgs::Point articulation_models::vectorToPosition (btVector3 point)

Define Documentation

#define MAX ( a,
 )     ((a>=b)?(a):(b))

Definition at line 27 of file utils.h.

#define MIN ( a,
 )     ((a<=b)?(a):(b))

Definition at line 23 of file utils.h.

#define PRINT_TRANSFORM ( tf   ) 
Value:
"[ "<<tf.getOrigin().x() <<"; "<<tf.getOrigin().y() <<"; "<<tf.getOrigin().z() <<"]" << \
        "( "<<tf.getRotation().x() <<"; "<<tf.getRotation().y() <<"; "<<tf.getRotation().z()<<"; "<<tf.getRotation().w() <<") "

Definition at line 30 of file utils.h.

#define SQR (  )     ((a)*(a))

Definition at line 19 of file utils.h.

 All Classes Namespaces Files Functions Variables Typedefs Defines


articulation_models
Author(s): Juergen Sturm
autogenerated on Fri Jan 11 10:07:01 2013