Broadcast a set of transforms useful for various demos. More...
#include <utilities.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 | broadcasting_thread |
std::atomic< bool > | shutdown_flag |
std::map< std::string, tf::Transform > | transforms |
Broadcast a set of transforms useful for various demos.
Definition at line 35 of file utilities.hpp.
Definition at line 37 of file utilities.hpp.
TransformBroadcaster::~TransformBroadcaster | ( | ) | [virtual] |
Definition at line 43 of file utilities.cpp.
void TransformBroadcaster::add | ( | const std::string & | name, |
tf::Vector3 | origin, | ||
const tf::Quaternion & | orientation | ||
) |
Definition at line 51 of file utilities.cpp.
void TransformBroadcaster::broadcast | ( | ) |
Definition at line 62 of file utilities.cpp.
void TransformBroadcaster::shutdown | ( | ) |
Definition at line 47 of file utilities.cpp.
Definition at line 58 of file utilities.cpp.
std::thread cost_map_demos::TransformBroadcaster::broadcasting_thread [private] |
Definition at line 47 of file utilities.hpp.
std::atomic<bool> cost_map_demos::TransformBroadcaster::shutdown_flag [private] |
Definition at line 48 of file utilities.hpp.
std::map<std::string, tf::Transform> cost_map_demos::TransformBroadcaster::transforms [private] |
Definition at line 46 of file utilities.hpp.