Apollo
6.0
Open source self driving car software
|
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 | |
TransformBroadcaster (const std::shared_ptr< cyber::Node > &node) | |
Constructor (needs a cyber::Node reference) More... | |
void | SendTransform (const 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< TransformStamped > &transforms) |
Send a vector of TransformStamped messages The stamped data structure includes frame_id, and time, and parent_id already. More... | |
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.
|
explicit |
Constructor (needs a cyber::Node reference)
void apollo::transform::TransformBroadcaster::SendTransform | ( | const TransformStamped & | transform | ) |
Send a TransformStamped message The stamped data structure includes frame_id, and time, and parent_id already.
void apollo::transform::TransformBroadcaster::SendTransform | ( | const std::vector< TransformStamped > & | transforms | ) |
Send a vector of TransformStamped messages The stamped data structure includes frame_id, and time, and parent_id already.