wbc_ros
conversions.cpp File Reference
#include "conversions.hpp"

Functions

void fromROS (const sensor_msgs::msg::JointState &in, base::samples::Joints &out)
 
void fromROS (const geometry_msgs::msg::Pose &in, base::Pose &out)
 
void fromROS (const geometry_msgs::msg::Twist &in, base::Twist &out)
 
void fromROS (const geometry_msgs::msg::Accel &in, base::Acceleration &out)
 
void fromROS (const wbc_msgs::msg::RigidBodyState &in, base::samples::RigidBodyStateSE3 &out)
 
void fromROS (const trajectory_msgs::msg::JointTrajectory &in, base::samples::Joints &out)
 
void fromROS (const std_msgs::msg::Float64MultiArray &in, base::VectorXd &out)
 
void fromROS (const std_msgs::msg::Float64MultiArray &in, const vector< string > &joint_names, wbc::JointWeights &out)
 
void fromROS (const geometry_msgs::msg::WrenchStamped &in, base::samples::Wrench &out)
 
void toROS (const base::VectorXd &in, std_msgs::msg::Float64MultiArray &out)
 
void toROS (const base::commands::Joints &in, trajectory_msgs::msg::JointTrajectory &out)
 
void toROS (const base::Pose &in, geometry_msgs::msg::Pose &out)
 
void toROS (const base::Twist &in, geometry_msgs::msg::Twist &out)
 
void toROS (const base::Acceleration &in, geometry_msgs::msg::Accel &out)
 
void toROS (const base::samples::RigidBodyStateSE3 &in, wbc_msgs::msg::RigidBodyState &out)
 
void toROS (const base::samples::Joints &in, sensor_msgs::msg::JointState &out)
 
void toROS (const TaskConfig &in, wbc_msgs::msg::TaskConfig &out)
 
void toROS (const TaskStatus &in, wbc_msgs::msg::TaskStatus &out)
 
void toROS (const base::Time &in, builtin_interfaces::msg::Time &out)
 
void toRaw (const wbc_msgs::msg::RigidBodyState &in, std::vector< double > &out)
 
void toRaw (const trajectory_msgs::msg::JointTrajectory &in, std::vector< double > &out)
 
void fromRaw (const std::vector< double > &in, base::samples::RigidBodyStateSE3 &out)
 
void fromRaw (const std::vector< double > &in, base::samples::Joints &out)
 

Function Documentation

◆ fromRaw() [1/2]

void fromRaw ( const std::vector< double > & in,
base::samples::Joints & out )

◆ fromRaw() [2/2]

void fromRaw ( const std::vector< double > & in,
base::samples::RigidBodyStateSE3 & out )

◆ fromROS() [1/9]

void fromROS ( const geometry_msgs::msg::Accel & in,
base::Acceleration & out )

◆ fromROS() [2/9]

void fromROS ( const geometry_msgs::msg::Pose & in,
base::Pose & out )

◆ fromROS() [3/9]

void fromROS ( const geometry_msgs::msg::Twist & in,
base::Twist & out )

◆ fromROS() [4/9]

void fromROS ( const geometry_msgs::msg::WrenchStamped & in,
base::samples::Wrench & out )

◆ fromROS() [5/9]

void fromROS ( const sensor_msgs::msg::JointState & in,
base::samples::Joints & out )

◆ fromROS() [6/9]

void fromROS ( const std_msgs::msg::Float64MultiArray & in,
base::VectorXd & out )

◆ fromROS() [7/9]

void fromROS ( const std_msgs::msg::Float64MultiArray & in,
const vector< string > & joint_names,
wbc::JointWeights & out )

◆ fromROS() [8/9]

void fromROS ( const trajectory_msgs::msg::JointTrajectory & in,
base::samples::Joints & out )

◆ fromROS() [9/9]

void fromROS ( const wbc_msgs::msg::RigidBodyState & in,
base::samples::RigidBodyStateSE3 & out )

◆ toRaw() [1/2]

void toRaw ( const trajectory_msgs::msg::JointTrajectory & in,
std::vector< double > & out )

◆ toRaw() [2/2]

void toRaw ( const wbc_msgs::msg::RigidBodyState & in,
std::vector< double > & out )

◆ toROS() [1/10]

void toROS ( const base::Acceleration & in,
geometry_msgs::msg::Accel & out )

◆ toROS() [2/10]

void toROS ( const base::commands::Joints & in,
trajectory_msgs::msg::JointTrajectory & out )

◆ toROS() [3/10]

void toROS ( const base::Pose & in,
geometry_msgs::msg::Pose & out )

◆ toROS() [4/10]

void toROS ( const base::samples::Joints & in,
sensor_msgs::msg::JointState & out )

◆ toROS() [5/10]

void toROS ( const base::samples::RigidBodyStateSE3 & in,
wbc_msgs::msg::RigidBodyState & out )

◆ toROS() [6/10]

void toROS ( const base::Time & in,
builtin_interfaces::msg::Time & out )

◆ toROS() [7/10]

void toROS ( const base::Twist & in,
geometry_msgs::msg::Twist & out )

◆ toROS() [8/10]

void toROS ( const base::VectorXd & in,
std_msgs::msg::Float64MultiArray & out )

◆ toROS() [9/10]

void toROS ( const TaskConfig & in,
wbc_msgs::msg::TaskConfig & out )

◆ toROS() [10/10]

void toROS ( const TaskStatus & in,
wbc_msgs::msg::TaskStatus & out )