Public Member Functions | Private Member Functions | Private Attributes
tf2_ros::TransformListener Class Reference

This class provides an easy way to request and receive coordinate frame transform information. More...

#include <transform_listener.h>

List of all members.

Public Member Functions

 TransformListener (tf2::BufferCore &buffer, bool spin_thread=true)
 Constructor for transform listener.
 TransformListener (tf2::BufferCore &buffer, const ros::NodeHandle &nh, bool spin_thread=true)
 ~TransformListener ()

Private Member Functions

void dedicatedListenerThread ()
void init ()
 Initialize this transform listener, subscribing, advertising services, etc.
void initWithThread ()
void static_subscription_callback (const ros::MessageEvent< tf2_msgs::TFMessage const > &msg_evt)
void subscription_callback (const ros::MessageEvent< tf2_msgs::TFMessage const > &msg_evt)
 Callback function for ros message subscriptoin.
void subscription_callback_impl (const ros::MessageEvent< tf2_msgs::TFMessage const > &msg_evt, bool is_static)

Private Attributes

tf2::BufferCorebuffer_
boost::thread * dedicated_listener_thread_
ros::Time last_update_
ros::Subscriber message_subscriber_tf_
ros::Subscriber message_subscriber_tf_static_
ros::NodeHandle node_
ros::CallbackQueue tf_message_callback_queue_
bool using_dedicated_thread_

Detailed Description

This class provides an easy way to request and receive coordinate frame transform information.

Definition at line 48 of file transform_listener.h.


Constructor & Destructor Documentation

TransformListener::TransformListener ( tf2::BufferCore buffer,
bool  spin_thread = true 
)

Constructor for transform listener.

Definition at line 38 of file transform_listener.cpp.

TransformListener::TransformListener ( tf2::BufferCore buffer,
const ros::NodeHandle nh,
bool  spin_thread = true 
)

Definition at line 47 of file transform_listener.cpp.

Definition at line 60 of file transform_listener.cpp.


Member Function Documentation

Definition at line 78 of file transform_listener.h.

void TransformListener::init ( ) [private]

Initialize this transform listener, subscribing, advertising services, etc.

Todo:
magic number
Todo:
magic number

Definition at line 70 of file transform_listener.cpp.

Todo:
magic number
Todo:
magic number

Definition at line 76 of file transform_listener.cpp.

void TransformListener::static_subscription_callback ( const ros::MessageEvent< tf2_msgs::TFMessage const > &  msg_evt) [private]

Definition at line 97 of file transform_listener.cpp.

void TransformListener::subscription_callback ( const ros::MessageEvent< tf2_msgs::TFMessage const > &  msg_evt) [private]

Callback function for ros message subscriptoin.

Definition at line 93 of file transform_listener.cpp.

void TransformListener::subscription_callback_impl ( const ros::MessageEvent< tf2_msgs::TFMessage const > &  msg_evt,
bool  is_static 
) [private]
Todo:
Use error reporting

Definition at line 102 of file transform_listener.cpp.


Member Data Documentation

Definition at line 74 of file transform_listener.h.

Definition at line 70 of file transform_listener.h.

Definition at line 76 of file transform_listener.h.

Definition at line 72 of file transform_listener.h.

Definition at line 73 of file transform_listener.h.

Definition at line 71 of file transform_listener.h.

Definition at line 69 of file transform_listener.h.

Definition at line 75 of file transform_listener.h.


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


tf2_ros
Author(s): Eitan Marder-Eppstein, Wim Meeussen
autogenerated on Thu Jan 4 2018 03:35:36