Public Member Functions | Private Attributes | List of all members
tf::TransformBroadcaster Class Reference

This class provides an easy way to publish coordinate frame transform information. It will handle all the messaging and stuffing of messages. And the function prototypes lay out all the necessary data needed for each message. More...

#include <transform_broadcaster.h>

Public Member Functions

void sendTransform (const StampedTransform &transform)
 Send a StampedTransform The stamped data structure includes frame_id, and time, and parent_id already. More...
 
void sendTransform (const std::vector< StampedTransform > &transforms)
 Send a vector of StampedTransforms The stamped data structure includes frame_id, and time, and parent_id already. More...
 
void sendTransform (const geometry_msgs::TransformStamped &transform)
 Send a TransformStamped message The stamped data structure includes frame_id, and time, and parent_id already. More...
 
void sendTransform (const std::vector< geometry_msgs::TransformStamped > &transforms)
 Send a vector of TransformStamped messages The stamped data structure includes frame_id, and time, and parent_id already. More...
 
 TransformBroadcaster ()
 Constructor (needs a ros::Node reference) More...
 

Private Attributes

tf2_ros::TransformBroadcaster tf2_broadcaster_
 

Detailed Description

This class provides an easy way to publish coordinate frame transform information. It will handle all the messaging and stuffing of messages. And the function prototypes lay out all the necessary data needed for each message.

Definition at line 50 of file transform_broadcaster.h.

Constructor & Destructor Documentation

◆ TransformBroadcaster()

tf::TransformBroadcaster::TransformBroadcaster ( )

Constructor (needs a ros::Node reference)

Definition at line 44 of file transform_broadcaster.cpp.

Member Function Documentation

◆ sendTransform() [1/4]

void tf::TransformBroadcaster::sendTransform ( const StampedTransform transform)

Send a StampedTransform The stamped data structure includes frame_id, and time, and parent_id already.

Definition at line 54 of file transform_broadcaster.cpp.

◆ sendTransform() [2/4]

void tf::TransformBroadcaster::sendTransform ( const std::vector< StampedTransform > &  transforms)

Send a vector of StampedTransforms The stamped data structure includes frame_id, and time, and parent_id already.

Definition at line 66 of file transform_broadcaster.cpp.

◆ sendTransform() [3/4]

void tf::TransformBroadcaster::sendTransform ( const geometry_msgs::TransformStamped &  transform)

Send a TransformStamped message The stamped data structure includes frame_id, and time, and parent_id already.

Definition at line 49 of file transform_broadcaster.cpp.

◆ sendTransform() [4/4]

void tf::TransformBroadcaster::sendTransform ( const std::vector< geometry_msgs::TransformStamped > &  transforms)

Send a vector of TransformStamped messages The stamped data structure includes frame_id, and time, and parent_id already.

Definition at line 61 of file transform_broadcaster.cpp.

Member Data Documentation

◆ tf2_broadcaster_

tf2_ros::TransformBroadcaster tf::TransformBroadcaster::tf2_broadcaster_
private

Definition at line 73 of file transform_broadcaster.h.


The documentation for this class was generated from the following files:


tf
Author(s): Tully Foote, Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Mon Feb 28 2022 22:26:20