Public Member Functions | Public Attributes | List of all members
mavros::plugin::TF2ListenerMixin< D > Class Template Reference

This mixin adds TF2 listener thread to plugin. More...

#include <setpoint_mixin.h>

Public Member Functions

void tf2_start (const char *_thd_name, void(D::*cbp)(const geometry_msgs::TransformStamped &))
 start tf listener More...
template<class T >
void tf2_start (const char *_thd_name, message_filters::Subscriber< T > &topic_sub, void(D::*cbp)(const geometry_msgs::TransformStamped &, const typename T::ConstPtr &))
 start tf listener syncronized with another topic More...

Public Attributes

std::string tf_thd_name
std::thread tf_thread

Detailed Description

template<class D>
class mavros::plugin::TF2ListenerMixin< D >

This mixin adds TF2 listener thread to plugin.

It requires tf_frame_id, tf_child_frame_id strings tf_rate double and uas object pointer

Definition at line 167 of file setpoint_mixin.h.

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

Author(s): Vladimir Ermakov
autogenerated on Mon Jul 8 2019 03:20:11