Static Public Member Functions | List of all members
xpp::Convert Struct Reference

Converts between xpp-states types and xpp-messages. More...

#include <convert.h>

Static Public Member Functions

static xpp_msgs::StateLin3d ToRos (const StateLin3d &xpp)
 
template<typename T >
static T ToRos (const Vector3d &xpp)
 
static geometry_msgs::Quaternion ToRos (const Eigen::Quaterniond xpp)
 
static xpp_msgs::State6d ToRos (const State3d &xpp)
 
static xpp_msgs::RobotStateCartesian ToRos (const RobotStateCartesian &xpp)
 
static xpp_msgs::RobotStateCartesianTrajectory ToRos (const std::vector< RobotStateCartesian > &xpp)
 
static StateLin3d ToXpp (const xpp_msgs::StateLin3d &ros)
 
template<typename T >
static Vector3d ToXpp (const T &ros)
 
template<typename T >
static Endeffectors< Vector3dToXpp (const std::vector< T > &ros)
 
static Eigen::Quaterniond ToXpp (const geometry_msgs::Quaternion ros)
 
static State3d ToXpp (const xpp_msgs::State6d &ros)
 
static RobotStateCartesian ToXpp (const xpp_msgs::RobotStateCartesian &ros)
 
static std::vector< RobotStateCartesianToXpp (const xpp_msgs::RobotStateCartesianTrajectory &ros)
 

Detailed Description

Converts between xpp-states types and xpp-messages.

ToXpp() : Convert from ROS message (xpp_msgs) to state (xpp_states). ToRos() : Convert from state (xpp_states) to ROS message (xpp_msgs).

Definition at line 51 of file convert.h.

Member Function Documentation

static xpp_msgs::StateLin3d xpp::Convert::ToRos ( const StateLin3d xpp)
inlinestatic

Definition at line 73 of file convert.h.

template<typename T >
static T xpp::Convert::ToRos ( const Vector3d xpp)
inlinestatic

Definition at line 102 of file convert.h.

static geometry_msgs::Quaternion xpp::Convert::ToRos ( const Eigen::Quaterniond  xpp)
inlinestatic

Definition at line 137 of file convert.h.

static xpp_msgs::State6d xpp::Convert::ToRos ( const State3d xpp)
inlinestatic

Definition at line 149 of file convert.h.

static xpp_msgs::RobotStateCartesian xpp::Convert::ToRos ( const RobotStateCartesian xpp)
inlinestatic

Definition at line 181 of file convert.h.

static xpp_msgs::RobotStateCartesianTrajectory xpp::Convert::ToRos ( const std::vector< RobotStateCartesian > &  xpp)
inlinestatic

Definition at line 217 of file convert.h.

static StateLin3d xpp::Convert::ToXpp ( const xpp_msgs::StateLin3d &  ros)
inlinestatic

Definition at line 54 of file convert.h.

template<typename T >
static Vector3d xpp::Convert::ToXpp ( const T &  ros)
inlinestatic

Definition at line 93 of file convert.h.

template<typename T >
static Endeffectors<Vector3d> xpp::Convert::ToXpp ( const std::vector< T > &  ros)
inlinestatic

Definition at line 114 of file convert.h.

static Eigen::Quaterniond xpp::Convert::ToXpp ( const geometry_msgs::Quaternion  ros)
inlinestatic

Definition at line 125 of file convert.h.

static State3d xpp::Convert::ToXpp ( const xpp_msgs::State6d &  ros)
inlinestatic

Definition at line 165 of file convert.h.

static RobotStateCartesian xpp::Convert::ToXpp ( const xpp_msgs::RobotStateCartesian &  ros)
inlinestatic

Definition at line 198 of file convert.h.

static std::vector<RobotStateCartesian> xpp::Convert::ToXpp ( const xpp_msgs::RobotStateCartesianTrajectory &  ros)
inlinestatic

Definition at line 230 of file convert.h.


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


xpp_states
Author(s): Alexander W. Winkler
autogenerated on Sun Apr 7 2019 02:34:49