Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
tf2 Namespace Reference

Namespaces

 cache
 
 impl
 

Classes

class  BufferCore
 
struct  CanTransformAccum
 
class  ConnectivityException
 
class  ExtrapolationException
 
class  InvalidArgumentException
 
class  LookupException
 
class  Matrix3x3
 
struct  Matrix3x3DoubleData
 
struct  Matrix3x3FloatData
 
class  Quaternion
 
class  Stamped
 
class  StaticCache
 
class  TestBufferCore
 
class  tf2Vector4
 
struct  TimeAndFrameIDFrameComparator
 
class  TimeCache
 
class  TimeCacheInterface
 
class  TimeoutException
 
class  Transform
 
struct  TransformAccum
 
struct  TransformDoubleData
 
class  TransformException
 
struct  TransformFloatData
 
class  TransformStorage
 
struct  Vector3DoubleData
 
struct  Vector3FloatData
 

Typedefs

typedef uint32_t CompactFrameID
 
typedef std::pair< ros::Time, CompactFrameIDP_TimeAndFrameID
 
typedef boost::shared_ptr< TimeCacheInterfaceTimeCacheInterfacePtr
 
typedef uint32_t TransformableCallbackHandle
 
typedef uint64_t TransformableRequestHandle
 

Enumerations

enum  TransformableResult
 
enum  WalkEnding
 

Functions

TF2SIMD_FORCE_INLINE tf2Scalar angle (const Quaternion &q1, const Quaternion &q2)
 
TF2SIMD_FORCE_INLINE tf2Scalar angleShortestPath (const Quaternion &q1, const Quaternion &q2)
 
 ATTRIBUTE_ALIGNED16 (class) QuadWord
 
void convert (const A &a, B &b)
 
void convert (const A &a1, A &a2)
 
TF2SIMD_FORCE_INLINE tf2Scalar dot (const Quaternion &q1, const Quaternion &q2)
 
void doTransform (const T &data_in, T &data_out, const geometry_msgs::TransformStamped &transform)
 
template<>
void doTransform (const geometry_msgs::Point &t_in, geometry_msgs::Point &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an geometry_msgs Point type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::PointStamped &t_in, geometry_msgs::PointStamped &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Point type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::Quaternion &t_in, geometry_msgs::Quaternion &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an geometry_msgs Quaternion type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::QuaternionStamped &t_in, geometry_msgs::QuaternionStamped &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Quaternion type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::Pose &t_in, geometry_msgs::Pose &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an geometry_msgs Pose type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::PoseStamped &t_in, geometry_msgs::PoseStamped &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Pose type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::PoseWithCovarianceStamped &t_in, geometry_msgs::PoseWithCovarianceStamped &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an geometry_msgs PoseWithCovarianceStamped type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::TransformStamped &t_in, geometry_msgs::TransformStamped &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an geometry_msgs Transform type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::Vector3 &t_in, geometry_msgs::Vector3 &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an geometry_msgs Vector type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::Vector3Stamped &t_in, geometry_msgs::Vector3Stamped &t_out, const geometry_msgs::TransformStamped &transform)
 Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Vector type. This function is a specialization of the doTransform template defined in tf2/convert.h. More...
 
template<>
void doTransform (const geometry_msgs::Wrench &t_in, geometry_msgs::Wrench &t_out, const geometry_msgs::TransformStamped &transform)
 
template<>
void doTransform (const geometry_msgs::WrenchStamped &t_in, geometry_msgs::WrenchStamped &t_out, const geometry_msgs::TransformStamped &transform)
 
void fromMsg (const A &, B &b)
 
void fromMsg (const geometry_msgs::Vector3 &in, tf2::Vector3 &out)
 Convert a Vector3 message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::Vector3Stamped &msg, geometry_msgs::Vector3Stamped &out)
 Trivial "conversion" function for Vector3 message type. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::Vector3Stamped &msg, tf2::Stamped< tf2::Vector3 > &out)
 Convert a Vector3Stamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::Point &in, tf2::Vector3 &out)
 Convert a Vector3 message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::PointStamped &msg, geometry_msgs::PointStamped &out)
 Trivial "conversion" function for Point message type. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::PointStamped &msg, tf2::Stamped< tf2::Vector3 > &out)
 Convert a PointStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::Quaternion &in, tf2::Quaternion &out)
 Convert a Quaternion message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::QuaternionStamped &msg, geometry_msgs::QuaternionStamped &out)
 Trivial "conversion" function for Quaternion message type. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::QuaternionStamped &in, tf2::Stamped< tf2::Quaternion > &out)
 Convert a QuaternionStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::Pose &in, tf2::Transform &out)
 Convert a geometry_msgs Pose message to an equivalent tf2 Transform type. More...
 
void fromMsg (const geometry_msgs::PoseStamped &msg, geometry_msgs::PoseStamped &out)
 Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::PoseStamped &msg, tf2::Stamped< tf2::Transform > &out)
 Convert a PoseStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::PoseWithCovarianceStamped &msg, geometry_msgs::PoseWithCovarianceStamped &out)
 Trivial "conversion" function for PoseWithCovarianceStamped message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::PoseWithCovarianceStamped &msg, tf2::Stamped< tf2::Transform > &out)
 Convert a PoseWithCovarianceStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::Transform &in, tf2::Transform &out)
 Convert a Transform message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::TransformStamped &msg, geometry_msgs::TransformStamped &out)
 Convert a TransformStamped message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::TransformStamped &msg, tf2::Stamped< tf2::Transform > &out)
 Convert a TransformStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h. More...
 
void fromMsg (const geometry_msgs::WrenchStamped &msg, geometry_msgs::WrenchStamped &out)
 
void fromMsg (const geometry_msgs::WrenchStamped &msg, tf2::Stamped< boost::array< tf2::Vector3, 2 > > &out)
 
void getEulerYPR (const A &a, double &yaw, double &pitch, double &roll)
 
const std::string & getFrameId (const T &t)
 
const std::string & getFrameId (const tf2::Stamped< P > &t)
 
template<>
const std::string & getFrameId (const geometry_msgs::Vector3Stamped &t)
 Extract a frame ID from the header of a Vector message. This function is a specialization of the getFrameId template defined in tf2/convert.h. More...
 
template<>
const std::string & getFrameId (const geometry_msgs::PointStamped &t)
 Extract a frame ID from the header of a Point message. This function is a specialization of the getFrameId template defined in tf2/convert.h. More...
 
template<>
const std::string & getFrameId (const geometry_msgs::QuaternionStamped &t)
 Extract a frame ID from the header of a Quaternion message. This function is a specialization of the getFrameId template defined in tf2/convert.h. More...
 
template<>
const std::string & getFrameId (const geometry_msgs::PoseStamped &t)
 Extract a frame ID from the header of a Pose message. This function is a specialization of the getFrameId template defined in tf2/convert.h. More...
 
template<>
const std::string & getFrameId (const geometry_msgs::PoseWithCovarianceStamped &t)
 Extract a frame ID from the header of a PoseWithCovarianceStamped message. This function is a specialization of the getFrameId template defined in tf2/convert.h. More...
 
template<>
const std::string & getFrameId (const geometry_msgs::TransformStamped &t)
 Extract a frame ID from the header of a Transform message. This function is a specialization of the getFrameId template defined in tf2/convert.h. More...
 
template<>
const std::string & getFrameId (const geometry_msgs::WrenchStamped &t)
 
const ros::TimegetTimestamp (const T &t)
 
const ros::TimegetTimestamp (const tf2::Stamped< P > &t)
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::Vector3Stamped &t)
 Extract a timestamp from the header of a Vector message. This function is a specialization of the getTimestamp template defined in tf2/convert.h. More...
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::PointStamped &t)
 Extract a timestamp from the header of a Point message. This function is a specialization of the getTimestamp template defined in tf2/convert.h. More...
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::QuaternionStamped &t)
 Extract a timestamp from the header of a Quaternion message. This function is a specialization of the getTimestamp template defined in tf2/convert.h. More...
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::PoseStamped &t)
 Extract a timestamp from the header of a Pose message. This function is a specialization of the getTimestamp template defined in tf2/convert.h. More...
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::PoseWithCovarianceStamped &t)
 Extract a timestamp from the header of a PoseWithCovarianceStamped message. This function is a specialization of the getTimestamp template defined in tf2/convert.h. More...
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::TransformStamped &t)
 Extract a timestamp from the header of a Transform message. This function is a specialization of the getTimestamp template defined in tf2/convert.h. More...
 
template<>
const ros::TimegetTimestamp (const geometry_msgs::WrenchStamped &t)
 
getTransformIdentity ()
 
double getYaw (const A &a)
 
KDL::Frame gmTransformToKDL (const geometry_msgs::TransformStamped &t) __attribute__((deprecated))
 Convert a TransformStamped message to a KDL frame. More...
 
TF2SIMD_FORCE_INLINE Quaternion inverse (const Quaternion &q)
 
TF2SIMD_FORCE_INLINE tf2Scalar length (const Quaternion &q)
 
TF2SIMD_FORCE_INLINE Vector3 lerp (const Vector3 &v1, const Vector3 &v2, const tf2Scalar &t)
 
TF2SIMD_FORCE_INLINE Vector3 operator* (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE Quaternion operator* (const Quaternion &q1, const Quaternion &q2)
 
TF2SIMD_FORCE_INLINE Quaternion operator* (const Quaternion &q, const Vector3 &w)
 
TF2SIMD_FORCE_INLINE Vector3 operator* (const Vector3 &v, const tf2Scalar &s)
 
TF2SIMD_FORCE_INLINE Vector3 operator* (const tf2Scalar &s, const Vector3 &v)
 
TF2SIMD_FORCE_INLINE Quaternion operator* (const Vector3 &w, const Quaternion &q)
 
TF2SIMD_FORCE_INLINE Vector3 operator* (const Matrix3x3 &m, const Vector3 &v)
 
TF2SIMD_FORCE_INLINE Vector3 operator* (const Vector3 &v, const Matrix3x3 &m)
 
TF2SIMD_FORCE_INLINE Matrix3x3 operator* (const Matrix3x3 &m1, const Matrix3x3 &m2)
 
TF2SIMD_FORCE_INLINE Vector3 operator+ (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE Vector3 operator- (const Vector3 &v)
 
TF2SIMD_FORCE_INLINE Quaternion operator- (const Quaternion &q)
 
TF2SIMD_FORCE_INLINE Vector3 operator- (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE Vector3 operator/ (const Vector3 &v, const tf2Scalar &s)
 
TF2SIMD_FORCE_INLINE Vector3 operator/ (const Vector3 &v1, const Vector3 &v2)
 
bool operator== (const Stamped< T > &a, const Stamped< T > &b)
 
TF2SIMD_FORCE_INLINE bool operator== (const Transform &t1, const Transform &t2)
 
TF2SIMD_FORCE_INLINE bool operator== (const Matrix3x3 &m1, const Matrix3x3 &m2)
 
bool operator> (const TransformStorage &lhs, const TransformStorage &rhs)
 
TF2SIMD_FORCE_INLINE Vector3 quatRotate (const Quaternion &rotation, const Vector3 &v)
 
void setIdentity (geometry_msgs::Transform &tx)
 
TF2SIMD_FORCE_INLINE Quaternion shortestArcQuat (const Vector3 &v0, const Vector3 &v1)
 
TF2SIMD_FORCE_INLINE Quaternion shortestArcQuatNormalize2 (Vector3 &v0, Vector3 &v1)
 
TF2SIMD_FORCE_INLINE Quaternion slerp (const Quaternion &q1, const Quaternion &q2, const tf2Scalar &t)
 
bool startsWithSlash (const std::string &frame_id)
 
std::string stripSlash (const std::string &in)
 
TF2SIMD_FORCE_INLINE tf2Scalar tf2Angle (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE Vector3 tf2Cross (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE tf2Scalar tf2Distance (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE tf2Scalar tf2Distance2 (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE tf2Scalar tf2Dot (const Vector3 &v1, const Vector3 &v2)
 
TF2SIMD_FORCE_INLINE void tf2PlaneSpace1 (const Vector3 &n, Vector3 &p, Vector3 &q)
 
TF2SIMD_FORCE_INLINE void tf2SwapScalarEndian (const tf2Scalar &sourceVal, tf2Scalar &destVal)
 
TF2SIMD_FORCE_INLINE void tf2SwapVector3Endian (const Vector3 &sourceVec, Vector3 &destVec)
 
TF2SIMD_FORCE_INLINE tf2Scalar tf2Triple (const Vector3 &v1, const Vector3 &v2, const Vector3 &v3)
 
TF2SIMD_FORCE_INLINE void tf2UnSwapVector3Endian (Vector3 &vector)
 
toMsg (const A &a)
 
geometry_msgs::Vector3 toMsg (const tf2::Vector3 &in)
 Convert a tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::Vector3Stamped toMsg (const geometry_msgs::Vector3Stamped &in)
 Trivial "conversion" function for Vector3 message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::Vector3Stamped toMsg (const tf2::Stamped< tf2::Vector3 > &in)
 Convert as stamped tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::Point & toMsg (const tf2::Vector3 &in, geometry_msgs::Point &out)
 Convert a tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::PointStamped toMsg (const geometry_msgs::PointStamped &in)
 Trivial "conversion" function for Point message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::PointStamped toMsg (const tf2::Stamped< tf2::Vector3 > &in, geometry_msgs::PointStamped &out)
 Convert as stamped tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::Quaternion toMsg (const tf2::Quaternion &in)
 Convert a tf2 Quaternion type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::QuaternionStamped toMsg (const geometry_msgs::QuaternionStamped &in)
 Trivial "conversion" function for Quaternion message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::QuaternionStamped toMsg (const tf2::Stamped< tf2::Quaternion > &in)
 Convert as stamped tf2 Quaternion type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::Pose & toMsg (const tf2::Transform &in, geometry_msgs::Pose &out)
 Convert a tf2 Transform type to an equivalent geometry_msgs Pose message. More...
 
geometry_msgs::PoseStamped toMsg (const geometry_msgs::PoseStamped &in)
 Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::PoseStamped toMsg (const tf2::Stamped< tf2::Transform > &in, geometry_msgs::PoseStamped &out)
 Convert as stamped tf2 Pose type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::PoseWithCovarianceStamped toMsg (const geometry_msgs::PoseWithCovarianceStamped &in)
 Trivial "conversion" function for PoseWithCovarianceStamped message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::PoseWithCovarianceStamped toMsg (const tf2::Stamped< tf2::Transform > &in, geometry_msgs::PoseWithCovarianceStamped &out)
 Convert as stamped tf2 PoseWithCovarianceStamped type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::Transform toMsg (const tf2::Transform &in)
 Convert a tf2 Transform type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::TransformStamped toMsg (const geometry_msgs::TransformStamped &in)
 Trivial "conversion" function for Transform message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::TransformStamped toMsg (const tf2::Stamped< tf2::Transform > &in)
 Convert as stamped tf2 Transform type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More...
 
geometry_msgs::WrenchStamped toMsg (const geometry_msgs::WrenchStamped &in)
 
geometry_msgs::WrenchStamped toMsg (const tf2::Stamped< boost::array< tf2::Vector3, 2 > > &in, geometry_msgs::WrenchStamped &out)
 
geometry_msgs::PoseWithCovariance::_covariance_type transformCovariance (const geometry_msgs::PoseWithCovariance::_covariance_type &cov_in, const tf2::Transform &transform)
 Transform the covariance matrix of a PoseWithCovarianceStamped message to a new frame. More...
 
void transformMsgToTF2 (const geometry_msgs::Transform &msg, tf2::Transform &tf2)
 
void transformTF2ToMsg (const tf2::Transform &tf2, geometry_msgs::Transform &msg)
 
void transformTF2ToMsg (const tf2::Quaternion &orient, const tf2::Vector3 &pos, geometry_msgs::Transform &msg)
 
void transformTF2ToMsg (const tf2::Quaternion &orient, const tf2::Vector3 &pos, geometry_msgs::TransformStamped &msg, ros::Time stamp, const std::string &frame_id, const std::string &child_frame_id)
 
void transformTF2ToMsg (const tf2::Transform &tf2, geometry_msgs::TransformStamped &msg, ros::Time stamp, const std::string &frame_id, const std::string &child_frame_id)
 

Variables

 FullPath
 
 Identity
 
static double QUATERNION_NORMALIZATION_TOLERANCE
 
 SourceParentOfTarget
 
 TargetParentOfSource
 
 TransformAvailable
 
 TransformFailure
 

Detailed Description

Author
Wim Meeussen

Function Documentation

template<>
void tf2::doTransform ( const geometry_msgs::Point &  t_in,
geometry_msgs::Point &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an geometry_msgs Point type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe point to transform, as a Point3 message.
t_outThe transformed point, as a Point3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 720 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::PointStamped &  t_in,
geometry_msgs::PointStamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Point type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe point to transform, as a timestamped Point3 message.
t_outThe transformed point, as a timestamped Point3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 738 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::Quaternion &  t_in,
geometry_msgs::Quaternion &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an geometry_msgs Quaternion type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe quaternion to transform, as a Quaternion3 message.
t_outThe transformed quaternion, as a Quaternion3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 753 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::QuaternionStamped &  t_in,
geometry_msgs::QuaternionStamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Quaternion type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe quaternion to transform, as a timestamped Quaternion3 message.
t_outThe transformed quaternion, as a timestamped Quaternion3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 771 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::Pose &  t_in,
geometry_msgs::Pose &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an geometry_msgs Pose type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe pose to transform, as a Pose3 message.
t_outThe transformed pose, as a Pose3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 787 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::PoseStamped &  t_in,
geometry_msgs::PoseStamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Pose type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe pose to transform, as a timestamped Pose3 message.
t_outThe transformed pose, as a timestamped Pose3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 808 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::PoseWithCovarianceStamped &  t_in,
geometry_msgs::PoseWithCovarianceStamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an geometry_msgs PoseWithCovarianceStamped type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe pose to transform, as a timestamped PoseWithCovarianceStamped message.
t_outThe transformed pose, as a timestamped PoseWithCovarianceStamped message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 911 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::TransformStamped &  t_in,
geometry_msgs::TransformStamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an geometry_msgs Transform type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe frame to transform, as a timestamped Transform3 message.
t_outThe frame transform, as a timestamped Transform3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 936 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::Vector3 &  t_in,
geometry_msgs::Vector3 &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an geometry_msgs Vector type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe vector to transform, as a Vector3 message.
t_outThe transformed vector, as a Vector3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 958 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::Vector3Stamped &  t_in,
geometry_msgs::Vector3Stamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Apply a geometry_msgs TransformStamped to an stamped geometry_msgs Vector type. This function is a specialization of the doTransform template defined in tf2/convert.h.

Parameters
t_inThe vector to transform, as a timestamped Vector3 message.
t_outThe transformed vector, as a timestamped Vector3 message.
transformThe timestamped transform to apply, as a TransformStamped message.

Definition at line 976 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::Wrench &  t_in,
geometry_msgs::Wrench &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Definition at line 1038 of file tf2_geometry_msgs.h.

template<>
void tf2::doTransform ( const geometry_msgs::WrenchStamped &  t_in,
geometry_msgs::WrenchStamped &  t_out,
const geometry_msgs::TransformStamped &  transform 
)
inline

Definition at line 1047 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Vector3 &  in,
tf2::Vector3 &  out 
)
inline

Convert a Vector3 message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
inA Vector3 message type.
outThe Vector3 converted to a tf2 type.

Definition at line 95 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Vector3Stamped &  msg,
geometry_msgs::Vector3Stamped &  out 
)
inline

Trivial "conversion" function for Vector3 message type. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA Vector3Stamped message.
outThe input argument.

Definition at line 143 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Vector3Stamped &  msg,
tf2::Stamped< tf2::Vector3 > &  out 
)
inline

Convert a Vector3Stamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA Vector3Stamped message.
outThe Vector3Stamped converted to the equivalent tf2 type.

Definition at line 171 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Point &  in,
tf2::Vector3 &  out 
)
inline

Convert a Vector3 message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
inA Vector3 message type.
outThe Vector3 converted to a tf2 type.

Definition at line 203 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::PointStamped &  msg,
geometry_msgs::PointStamped &  out 
)
inline

Trivial "conversion" function for Point message type. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA PointStamped message.
outThe input argument.

Definition at line 250 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::PointStamped &  msg,
tf2::Stamped< tf2::Vector3 > &  out 
)
inline

Convert a PointStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA PointStamped message.
outThe PointStamped converted to the equivalent tf2 type.

Definition at line 277 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Quaternion &  in,
tf2::Quaternion out 
)
inline

Convert a Quaternion message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
inA Quaternion message type.
outThe Quaternion converted to a tf2 type.

Definition at line 311 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::QuaternionStamped &  msg,
geometry_msgs::QuaternionStamped &  out 
)
inline

Trivial "conversion" function for Quaternion message type. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA QuaternionStamped message.
outThe input argument.

Definition at line 359 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::QuaternionStamped &  in,
tf2::Stamped< tf2::Quaternion > &  out 
)
inline

Convert a QuaternionStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
inA QuaternionStamped message type.
outThe QuaternionStamped converted to the equivalent tf2 type.

Definition at line 401 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Pose &  in,
tf2::Transform out 
)
inline

Convert a geometry_msgs Pose message to an equivalent tf2 Transform type.

Parameters
inA Pose message.
outThe Pose converted to a tf2 Transform type.

Definition at line 443 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::PoseStamped &  msg,
geometry_msgs::PoseStamped &  out 
)
inline

Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
msgA PoseStamped message.
outThe input argument.

Definition at line 491 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::PoseStamped &  msg,
tf2::Stamped< tf2::Transform > &  out 
)
inline

Convert a PoseStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA PoseStamped message.
outThe PoseStamped converted to the equivalent tf2 type.

Definition at line 517 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::PoseWithCovarianceStamped &  msg,
geometry_msgs::PoseWithCovarianceStamped &  out 
)
inline

Trivial "conversion" function for PoseWithCovarianceStamped message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
msgA PoseWithCovarianceStamped message.
outThe input argument.

Definition at line 565 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::PoseWithCovarianceStamped &  msg,
tf2::Stamped< tf2::Transform > &  out 
)
inline

Convert a PoseWithCovarianceStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA PoseWithCovarianceStamped message.
outThe PoseWithCovarianceStamped converted to the equivalent tf2 type.

Definition at line 591 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::Transform &  in,
tf2::Transform out 
)
inline

Convert a Transform message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA Transform message type.
outThe Transform converted to a tf2 type.

Definition at line 624 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::TransformStamped &  msg,
geometry_msgs::TransformStamped &  out 
)
inline

Convert a TransformStamped message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
msgA TransformStamped message type.
outThe TransformStamped converted to the equivalent tf2 type.

Definition at line 675 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::TransformStamped &  msg,
tf2::Stamped< tf2::Transform > &  out 
)
inline

Convert a TransformStamped message to its equivalent tf2 representation. This function is a specialization of the fromMsg template defined in tf2/convert.h.

Parameters
msgA TransformStamped message.
outThe TransformStamped converted to the equivalent tf2 type.

Definition at line 703 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::WrenchStamped &  msg,
geometry_msgs::WrenchStamped &  out 
)
inline

Definition at line 1004 of file tf2_geometry_msgs.h.

void tf2::fromMsg ( const geometry_msgs::WrenchStamped &  msg,
tf2::Stamped< boost::array< tf2::Vector3, 2 > > &  out 
)
inline

Definition at line 1022 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::Vector3Stamped &  t)
inline

Extract a frame ID from the header of a Vector message. This function is a specialization of the getFrameId template defined in tf2/convert.h.

Parameters
tVectorStamped message to extract the frame ID from.
Returns
A string containing the frame ID of the message. The lifetime of the returned reference is bound to the lifetime of the argument.

Definition at line 123 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::PointStamped &  t)
inline

Extract a frame ID from the header of a Point message. This function is a specialization of the getFrameId template defined in tf2/convert.h.

Parameters
tPointStamped message to extract the frame ID from.
Returns
A string containing the frame ID of the message. The lifetime of the returned reference is bound to the lifetime of the argument.

Definition at line 231 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::QuaternionStamped &  t)
inline

Extract a frame ID from the header of a Quaternion message. This function is a specialization of the getFrameId template defined in tf2/convert.h.

Parameters
tQuaternionStamped message to extract the frame ID from.
Returns
A string containing the frame ID of the message. The lifetime of the returned reference is bound to the lifetime of the argument.

Definition at line 340 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::PoseStamped &  t)
inline

Extract a frame ID from the header of a Pose message. This function is a specialization of the getFrameId template defined in tf2/convert.h.

Parameters
tPoseStamped message to extract the frame ID from.
Returns
A string containing the frame ID of the message.

Definition at line 472 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::PoseWithCovarianceStamped &  t)
inline

Extract a frame ID from the header of a PoseWithCovarianceStamped message. This function is a specialization of the getFrameId template defined in tf2/convert.h.

Parameters
tPoseWithCovarianceStamped message to extract the frame ID from.
Returns
A string containing the frame ID of the message.

Definition at line 546 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::TransformStamped &  t)
inline

Extract a frame ID from the header of a Transform message. This function is a specialization of the getFrameId template defined in tf2/convert.h.

Parameters
tTransformStamped message to extract the frame ID from.
Returns
A string containing the frame ID of the message.

Definition at line 656 of file tf2_geometry_msgs.h.

template<>
const std::string& tf2::getFrameId ( const geometry_msgs::WrenchStamped &  t)
inline

Definition at line 994 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::Vector3Stamped &  t)
inline

Extract a timestamp from the header of a Vector message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

Vector3Stamped

Parameters
tVectorStamped message to extract the timestamp from.
Returns
The timestamp of the message. The lifetime of the returned reference is bound to the lifetime of the argument.

Definition at line 113 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::PointStamped &  t)
inline

Extract a timestamp from the header of a Point message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

PointStamped

Parameters
tPointStamped message to extract the timestamp from.
Returns
The timestamp of the message. The lifetime of the returned reference is bound to the lifetime of the argument.

Definition at line 221 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::QuaternionStamped &  t)
inline

Extract a timestamp from the header of a Quaternion message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

QuaternionStamped

Parameters
tQuaternionStamped message to extract the timestamp from.
Returns
The timestamp of the message. The lifetime of the returned reference is bound to the lifetime of the argument.

Definition at line 330 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::PoseStamped &  t)
inline

Extract a timestamp from the header of a Pose message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

PoseStamped

Parameters
tPoseStamped message to extract the timestamp from.
Returns
The timestamp of the message.

Definition at line 463 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::PoseWithCovarianceStamped &  t)
inline

Extract a timestamp from the header of a PoseWithCovarianceStamped message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

PoseWithCovarianceStamped

Parameters
tPoseWithCovarianceStamped message to extract the timestamp from.
Returns
The timestamp of the message.

Definition at line 537 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::TransformStamped &  t)
inline

Extract a timestamp from the header of a Transform message. This function is a specialization of the getTimestamp template defined in tf2/convert.h.

TransformStamped

Parameters
tTransformStamped message to extract the timestamp from.
Returns
The timestamp of the message.

Definition at line 647 of file tf2_geometry_msgs.h.

template<>
const ros::Time& tf2::getTimestamp ( const geometry_msgs::WrenchStamped &  t)
inline

Definition at line 989 of file tf2_geometry_msgs.h.

KDL::Frame tf2::gmTransformToKDL ( const geometry_msgs::TransformStamped &  t)
inline

Convert a TransformStamped message to a KDL frame.

Parameters
tTransformStamped message to convert.
Returns
The converted KDL Frame.
Deprecated:

Definition at line 62 of file tf2_geometry_msgs.h.

geometry_msgs::Vector3 tf2::toMsg ( const tf2::Vector3 &  in)
inline

Convert a tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Vector3

Parameters
inA tf2 Vector3 object.
Returns
The Vector3 converted to a geometry_msgs message type.

Definition at line 80 of file tf2_geometry_msgs.h.

geometry_msgs::Vector3Stamped tf2::toMsg ( const geometry_msgs::Vector3Stamped &  in)
inline

Trivial "conversion" function for Vector3 message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA Vector3Stamped message.
Returns
The input argument.

Definition at line 132 of file tf2_geometry_msgs.h.

geometry_msgs::Vector3Stamped tf2::toMsg ( const tf2::Stamped< tf2::Vector3 > &  in)
inline

Convert as stamped tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inAn instance of the tf2::Vector3 specialization of the tf2::Stamped template.
Returns
The Vector3Stamped converted to a geometry_msgs Vector3Stamped message type.

Definition at line 154 of file tf2_geometry_msgs.h.

geometry_msgs::Point& tf2::toMsg ( const tf2::Vector3 &  in,
geometry_msgs::Point &  out 
)
inline

Convert a tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Point

Parameters
inA tf2 Vector3 object.
Returns
The Vector3 converted to a geometry_msgs message type.

Definition at line 189 of file tf2_geometry_msgs.h.

geometry_msgs::PointStamped tf2::toMsg ( const geometry_msgs::PointStamped &  in)
inline

Trivial "conversion" function for Point message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA PointStamped message.
Returns
The input argument.

Definition at line 239 of file tf2_geometry_msgs.h.

geometry_msgs::PointStamped tf2::toMsg ( const tf2::Stamped< tf2::Vector3 > &  in,
geometry_msgs::PointStamped &  out 
)
inline

Convert as stamped tf2 Vector3 type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inAn instance of the tf2::Vector3 specialization of the tf2::Stamped template.
Returns
The Vector3Stamped converted to a geometry_msgs PointStamped message type.

Definition at line 261 of file tf2_geometry_msgs.h.

geometry_msgs::Quaternion tf2::toMsg ( const tf2::Quaternion in)
inline

Convert a tf2 Quaternion type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Quaternion

Parameters
inA tf2 Quaternion object.
Returns
The Quaternion converted to a geometry_msgs message type.

Definition at line 295 of file tf2_geometry_msgs.h.

geometry_msgs::QuaternionStamped tf2::toMsg ( const geometry_msgs::QuaternionStamped &  in)
inline

Trivial "conversion" function for Quaternion message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA QuaternionStamped message.
Returns
The input argument.

Definition at line 348 of file tf2_geometry_msgs.h.

geometry_msgs::QuaternionStamped tf2::toMsg ( const tf2::Stamped< tf2::Quaternion > &  in)
inline

Convert as stamped tf2 Quaternion type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inAn instance of the tf2::Quaternion specialization of the tf2::Stamped template.
Returns
The QuaternionStamped converted to a geometry_msgs QuaternionStamped message type.

Definition at line 370 of file tf2_geometry_msgs.h.

geometry_msgs::Pose& tf2::toMsg ( const tf2::Transform in,
geometry_msgs::Pose &  out 
)
inline

Convert a tf2 Transform type to an equivalent geometry_msgs Pose message.

Pose

Parameters
inA tf2 Transform object.
outThe Transform converted to a geometry_msgs Pose message type.

Definition at line 431 of file tf2_geometry_msgs.h.

geometry_msgs::PoseStamped tf2::toMsg ( const geometry_msgs::PoseStamped &  in)
inline

Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA PoseStamped message.
Returns
The input argument.

Definition at line 480 of file tf2_geometry_msgs.h.

geometry_msgs::PoseStamped tf2::toMsg ( const tf2::Stamped< tf2::Transform > &  in,
geometry_msgs::PoseStamped &  out 
)
inline

Convert as stamped tf2 Pose type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inAn instance of the tf2::Pose specialization of the tf2::Stamped template.
Returns
The PoseStamped converted to a geometry_msgs PoseStamped message type.

Definition at line 502 of file tf2_geometry_msgs.h.

geometry_msgs::PoseWithCovarianceStamped tf2::toMsg ( const geometry_msgs::PoseWithCovarianceStamped &  in)
inline

Trivial "conversion" function for PoseWithCovarianceStamped message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA PoseWithCovarianceStamped message.
Returns
The input argument.

Definition at line 554 of file tf2_geometry_msgs.h.

geometry_msgs::PoseWithCovarianceStamped tf2::toMsg ( const tf2::Stamped< tf2::Transform > &  in,
geometry_msgs::PoseWithCovarianceStamped &  out 
)
inline

Convert as stamped tf2 PoseWithCovarianceStamped type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inAn instance of the tf2::Pose specialization of the tf2::Stamped template.
Returns
The PoseWithCovarianceStamped converted to a geometry_msgs PoseWithCovarianceStamped message type.

Definition at line 576 of file tf2_geometry_msgs.h.

geometry_msgs::Transform tf2::toMsg ( const tf2::Transform in)
inline

Convert a tf2 Transform type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Transform

Parameters
inA tf2 Transform object.
Returns
The Transform converted to a geometry_msgs message type.

Definition at line 610 of file tf2_geometry_msgs.h.

geometry_msgs::TransformStamped tf2::toMsg ( const geometry_msgs::TransformStamped &  in)
inline

Trivial "conversion" function for Transform message type. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inA TransformStamped message.
Returns
The input argument.

Definition at line 664 of file tf2_geometry_msgs.h.

geometry_msgs::TransformStamped tf2::toMsg ( const tf2::Stamped< tf2::Transform > &  in)
inline

Convert as stamped tf2 Transform type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h.

Parameters
inAn instance of the tf2::Transform specialization of the tf2::Stamped template.
Returns
The tf2::Stamped<tf2::Transform> converted to a geometry_msgs TransformStamped message type.

Definition at line 686 of file tf2_geometry_msgs.h.

geometry_msgs::WrenchStamped tf2::toMsg ( const geometry_msgs::WrenchStamped &  in)
inline

Definition at line 998 of file tf2_geometry_msgs.h.

geometry_msgs::WrenchStamped tf2::toMsg ( const tf2::Stamped< boost::array< tf2::Vector3, 2 > > &  in,
geometry_msgs::WrenchStamped &  out 
)
inline

Definition at line 1011 of file tf2_geometry_msgs.h.

geometry_msgs::PoseWithCovariance::_covariance_type tf2::transformCovariance ( const geometry_msgs::PoseWithCovariance::_covariance_type &  cov_in,
const tf2::Transform transform 
)
inline

Transform the covariance matrix of a PoseWithCovarianceStamped message to a new frame.

Parameters
t_inThe covariance matrix to transform.
transformThe timestamped transform to apply, as a TransformStamped message.
Returns
The transformed covariance matrix.

To transform a covariance matrix:

[R 0] COVARIANCE [R' 0 ] [0 R] [0 R']

Where: R is the rotation matrix (3x3). R' is the transpose of the rotation matrix. COVARIANCE is the 6x6 covariance matrix to be transformed.

Definition at line 821 of file tf2_geometry_msgs.h.



tf2_geometry_msgs
Author(s): Wim Meeussen
autogenerated on Fri Oct 16 2020 19:08:59