Carma-platform v4.2.0
CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication.
tf2::anonymous_namespace{PoseToTF2.cpp} Namespace Reference

Functions

void convert (const geometry_msgs::msg::Pose &pose, geometry_msgs::msg::Transform &trans)
 
void convert (const geometry_msgs::msg::PoseWithCovariance &pose, geometry_msgs::msg::Transform &trans)
 
void convert (const geometry_msgs::msg::PoseStamped &pose, geometry_msgs::msg::TransformStamped &trans)
 
void convert (const geometry_msgs::msg::PoseWithCovarianceStamped &pose, geometry_msgs::msg::TransformStamped &trans)
 

Function Documentation

◆ convert() [1/4]

void tf2::anonymous_namespace{PoseToTF2.cpp}::convert ( const geometry_msgs::msg::Pose &  pose,
geometry_msgs::msg::Transform &  trans 
)

Definition at line 30 of file PoseToTF2.cpp.

31{
32 trans.rotation = pose.orientation;
33 trans.translation.x = pose.position.x;
34 trans.translation.y = pose.position.y;
35 trans.translation.z = pose.position.z;
36}

◆ convert() [2/4]

void tf2::anonymous_namespace{PoseToTF2.cpp}::convert ( const geometry_msgs::msg::PoseStamped &  pose,
geometry_msgs::msg::TransformStamped &  trans 
)

Definition at line 43 of file PoseToTF2.cpp.

44{
45 convert(pose.pose, trans.transform);
46 trans.header = pose.header;
47}
void convert(const geometry_msgs::msg::PoseWithCovarianceStamped &pose, geometry_msgs::msg::TransformStamped &trans)
Definition: PoseToTF2.cpp:49

References convert().

Here is the call graph for this function:

◆ convert() [3/4]

void tf2::anonymous_namespace{PoseToTF2.cpp}::convert ( const geometry_msgs::msg::PoseWithCovariance &  pose,
geometry_msgs::msg::Transform &  trans 
)

Definition at line 38 of file PoseToTF2.cpp.

39{
40 convert(pose.pose, trans);
41}

References convert().

Here is the call graph for this function:

◆ convert() [4/4]

void tf2::anonymous_namespace{PoseToTF2.cpp}::convert ( const geometry_msgs::msg::PoseWithCovarianceStamped &  pose,
geometry_msgs::msg::TransformStamped &  trans 
)

Definition at line 49 of file PoseToTF2.cpp.

50{
51 convert(pose.pose, trans.transform);
52 trans.header = pose.header;
53}

References convert().

Referenced by convert(), pose_to_tf::PoseToTF2::poseCallback(), pose_to_tf::PoseToTF2::poseStampedCallback(), pose_to_tf::PoseToTF2::poseWithCovarianceCallback(), and pose_to_tf::PoseToTF2::poseWithCovarianceStampedCallback().

Here is the call graph for this function:
Here is the caller graph for this function: