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

Broadcast a set of transforms useful for various demos. More...

#include <costmap_2d_ros.hpp>

Public Member Functions

void add (const std::string &name, tf::Vector3 origin, const tf::Quaternion &orientation)
 
void broadcast ()
 
void shutdown ()
 
void startBroadCastingThread ()
 
 TransformBroadcaster ()
 
virtual ~TransformBroadcaster ()
 

Private Attributes

std::thread broadcastingThread_
 
std::atomic< bool > shutdownFlag_
 
std::map< std::string, tf::Transformtransforms_
 

Detailed Description

Broadcast a set of transforms useful for various demos.

Definition at line 28 of file costmap_2d_ros.hpp.

Constructor & Destructor Documentation

TransformBroadcaster::TransformBroadcaster ( )
inline

Definition at line 30 of file costmap_2d_ros.hpp.

TransformBroadcaster::~TransformBroadcaster ( )
virtual

Definition at line 86 of file costmap_2d_ros.cpp.

Member Function Documentation

void TransformBroadcaster::add ( const std::string &  name,
tf::Vector3  origin,
const tf::Quaternion orientation 
)

Definition at line 96 of file costmap_2d_ros.cpp.

void TransformBroadcaster::broadcast ( )

Definition at line 109 of file costmap_2d_ros.cpp.

void TransformBroadcaster::shutdown ( )

Definition at line 91 of file costmap_2d_ros.cpp.

void TransformBroadcaster::startBroadCastingThread ( )

Definition at line 105 of file costmap_2d_ros.cpp.

Member Data Documentation

std::thread TransformBroadcaster::broadcastingThread_
private

Definition at line 40 of file costmap_2d_ros.hpp.

std::atomic<bool> TransformBroadcaster::shutdownFlag_
private

Definition at line 41 of file costmap_2d_ros.hpp.

std::map<std::string, tf::Transform> TransformBroadcaster::transforms_
private

Definition at line 39 of file costmap_2d_ros.hpp.


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


grid_map_costmap_2d
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:11