#include <TransformBroadcaster.h>
Public Slots | |
void | setChildFrame (const QString &frame) |
void | setDisabled (bool bDisabled=true) |
void | setEnabled (bool bEnabled=true) |
void | setParentFrame (const QString &frame) |
void | setPosition (const Eigen::Vector3d &p) |
void | setPosition (double x, double y, double z) |
void | setQuaternion (const Eigen::Quaterniond &q) |
void | setQuaternion (double x, double y, double z, double w) |
Public Member Functions | |
bool | enabled () const |
void | setPose (const geometry_msgs::Pose &pose) |
void | setValue (const geometry_msgs::TransformStamped &tf) |
TransformBroadcaster (const QString &parent_frame="", const QString &child_frame="", QObject *parent=0) | |
const geometry_msgs::TransformStamped & | value () const |
Protected Member Functions | |
void | check () |
void | send () |
Private Attributes | |
tf2_ros::StaticTransformBroadcaster | broadcaster_ |
bool | enabled_ |
geometry_msgs::TransformStamped | msg_ |
bool | valid_ |
QObject wrapper for tf2_ros::StaticTransformBroadcaster to allow for signal-slot interaction
Definition at line 42 of file TransformBroadcaster.h.
TransformBroadcaster::TransformBroadcaster | ( | const QString & | parent_frame = "" , |
const QString & | child_frame = "" , |
||
QObject * | parent = 0 |
||
) | [explicit] |
Definition at line 34 of file TransformBroadcaster.cpp.
void TransformBroadcaster::check | ( | ) | [protected] |
Definition at line 138 of file TransformBroadcaster.cpp.
bool TransformBroadcaster::enabled | ( | ) | const |
Definition at line 73 of file TransformBroadcaster.cpp.
void TransformBroadcaster::send | ( | ) | [protected] |
Definition at line 128 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setChildFrame | ( | const QString & | frame | ) | [slot] |
Definition at line 95 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setDisabled | ( | bool | bDisabled = true | ) | [slot] |
Definition at line 84 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setEnabled | ( | bool | bEnabled = true | ) | [slot] |
Definition at line 78 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setParentFrame | ( | const QString & | frame | ) | [slot] |
Definition at line 89 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setPose | ( | const geometry_msgs::Pose & | pose | ) |
Definition at line 58 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setPosition | ( | const Eigen::Vector3d & | p | ) | [slot] |
Definition at line 101 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setPosition | ( | double | x, |
double | y, | ||
double | z | ||
) | [slot] |
Definition at line 111 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setQuaternion | ( | const Eigen::Quaterniond & | q | ) | [slot] |
Definition at line 106 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setQuaternion | ( | double | x, |
double | y, | ||
double | z, | ||
double | w | ||
) | [slot] |
Definition at line 119 of file TransformBroadcaster.cpp.
void TransformBroadcaster::setValue | ( | const geometry_msgs::TransformStamped & | tf | ) |
Definition at line 52 of file TransformBroadcaster.cpp.
const geometry_msgs::TransformStamped & TransformBroadcaster::value | ( | ) | const |
Definition at line 47 of file TransformBroadcaster.cpp.
Definition at line 74 of file TransformBroadcaster.h.
bool TransformBroadcaster::enabled_ [private] |
Definition at line 77 of file TransformBroadcaster.h.
geometry_msgs::TransformStamped TransformBroadcaster::msg_ [private] |
Definition at line 75 of file TransformBroadcaster.h.
bool TransformBroadcaster::valid_ [private] |
Definition at line 76 of file TransformBroadcaster.h.