tf2_geometry_msgs
master
tf2_geometry_msgs
|
#include <tf2/convert.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2/LinearMath/Transform.h>
#include <tf2_ros/buffer_interface.h>
#include <geometry_msgs/msg/point_stamped.hpp>
#include <geometry_msgs/msg/quaternion_stamped.hpp>
#include <geometry_msgs/msg/transform_stamped.hpp>
#include <geometry_msgs/msg/vector3_stamped.hpp>
#include <geometry_msgs/msg/pose.hpp>
#include <geometry_msgs/msg/pose_stamped.hpp>
#include <geometry_msgs/msg/pose_with_covariance_stamped.hpp>
#include <kdl/frames.hpp>
Go to the source code of this file.
Namespaces | |
tf2 | |
Functions | |
KDL::Frame | tf2::gmTransformToKDL (const geometry_msgs::msg::TransformStamped &t) |
Convert a TransformStamped message to a KDL frame. More... | |
template<> | |
tf2::TimePoint | tf2::getTimestamp (const geometry_msgs::msg::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<> | |
std::string | tf2::getFrameId (const geometry_msgs::msg::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<> | |
void | tf2::doTransform (const geometry_msgs::msg::Vector3Stamped &t_in, geometry_msgs::msg::Vector3Stamped &t_out, const geometry_msgs::msg::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... | |
geometry_msgs::msg::Vector3Stamped | tf2::toMsg (const geometry_msgs::msg::Vector3Stamped &in) |
Trivial "conversion" function for Vector3 message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::Vector3Stamped &msg, geometry_msgs::msg::Vector3Stamped &out) |
Trivial "conversion" function for Vector3 message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
template<> | |
tf2::TimePoint | tf2::getTimestamp (const geometry_msgs::msg::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<> | |
std::string | tf2::getFrameId (const geometry_msgs::msg::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<> | |
void | tf2::doTransform (const geometry_msgs::msg::PointStamped &t_in, geometry_msgs::msg::PointStamped &t_out, const geometry_msgs::msg::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... | |
geometry_msgs::msg::PointStamped | tf2::toMsg (const geometry_msgs::msg::PointStamped &in) |
Trivial "conversion" function for Point message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::PointStamped &msg, geometry_msgs::msg::PointStamped &out) |
Trivial "conversion" function for Point message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
template<> | |
tf2::TimePoint | tf2::getTimestamp (const geometry_msgs::msg::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<> | |
std::string | tf2::getFrameId (const geometry_msgs::msg::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<> | |
void | tf2::doTransform (const geometry_msgs::msg::PoseStamped &t_in, geometry_msgs::msg::PoseStamped &t_out, const geometry_msgs::msg::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... | |
geometry_msgs::msg::PoseStamped | tf2::toMsg (const geometry_msgs::msg::PoseStamped &in) |
Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::PoseStamped &msg, geometry_msgs::msg::PoseStamped &out) |
Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
template<> | |
tf2::TimePoint | tf2::getTimestamp (const geometry_msgs::msg::PoseWithCovarianceStamped &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<> | |
std::string | tf2::getFrameId (const geometry_msgs::msg::PoseWithCovarianceStamped &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<> | |
std::array< std::array< double, 6 >, 6 > | tf2::getCovarianceMatrix (const geometry_msgs::msg::PoseWithCovarianceStamped &t) |
Extract a covariance matrix from a PoseWithCovarianceStamped message. This function is a specialization of the getCovarianceMatrix template defined in tf2/convert.h. More... | |
template<> | |
void | tf2::doTransform (const geometry_msgs::msg::PoseWithCovarianceStamped &t_in, geometry_msgs::msg::PoseWithCovarianceStamped &t_out, const geometry_msgs::msg::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... | |
geometry_msgs::msg::PoseWithCovarianceStamped | tf2::toMsg (const geometry_msgs::msg::PoseWithCovarianceStamped &in) |
Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::PoseWithCovarianceStamped &msg, geometry_msgs::msg::PoseWithCovarianceStamped &out) |
Trivial "conversion" function for Pose message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
template<> | |
geometry_msgs::msg::PoseWithCovarianceStamped | tf2::toMsg (const tf2::WithCovarianceStamped< tf2::Transform > &in) |
Convert a tf2 TransformWithCovarianceStamped type to its equivalent geometry_msgs representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
template<> | |
void | tf2::fromMsg (const geometry_msgs::msg::PoseWithCovarianceStamped &in, tf2::WithCovarianceStamped< tf2::Transform > &out) |
Convert a PoseWithCovarianceStamped message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
geometry_msgs::msg::Quaternion | tf2::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... | |
void | tf2::fromMsg (const geometry_msgs::msg::Quaternion &in, tf2::Quaternion &out) |
Convert a Quaternion message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
template<> | |
tf2::TimePoint | tf2::getTimestamp (const geometry_msgs::msg::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<> | |
std::string | tf2::getFrameId (const geometry_msgs::msg::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<> | |
void | tf2::doTransform (const geometry_msgs::msg::QuaternionStamped &t_in, geometry_msgs::msg::QuaternionStamped &t_out, const geometry_msgs::msg::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... | |
geometry_msgs::msg::QuaternionStamped | tf2::toMsg (const geometry_msgs::msg::QuaternionStamped &in) |
Trivial "conversion" function for Quaternion message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::QuaternionStamped &msg, geometry_msgs::msg::QuaternionStamped &out) |
Trivial "conversion" function for Quaternion message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
geometry_msgs::msg::QuaternionStamped | tf2::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... | |
void | tf2::fromMsg (const geometry_msgs::msg::QuaternionStamped &in, tf2::Stamped< tf2::Quaternion > &out) |
Convert a QuaternionStamped message to its equivalent tf2 representation. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
geometry_msgs::msg::Transform | tf2::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... | |
void | tf2::fromMsg (const geometry_msgs::msg::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... | |
template<> | |
tf2::TimePoint | tf2::getTimestamp (const geometry_msgs::msg::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<> | |
std::string | tf2::getFrameId (const geometry_msgs::msg::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<> | |
void | tf2::doTransform (const geometry_msgs::msg::TransformStamped &t_in, geometry_msgs::msg::TransformStamped &t_out, const geometry_msgs::msg::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... | |
geometry_msgs::msg::TransformStamped | tf2::toMsg (const geometry_msgs::msg::TransformStamped &in) |
Trivial "conversion" function for Transform message type. This function is a specialization of the toMsg template defined in tf2/convert.h. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::TransformStamped &msg, geometry_msgs::msg::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 | tf2::fromMsg (const geometry_msgs::msg::TransformStamped &in, tf2::Stamped< tf2::Transform > &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... | |
geometry_msgs::msg::TransformStamped | tf2::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... | |
void | tf2::toMsg (const tf2::Transform &in, geometry_msgs::msg::Pose &out) |
Convert a tf2 Transform type to an equivalent geometry_msgs Pose message. More... | |
void | tf2::fromMsg (const geometry_msgs::msg::Pose &in, tf2::Transform &out) |
Convert a geometry_msgs Pose message to an equivalent tf2 Transform type. More... | |