Public Member Functions | Private Attributes | List of all members
TfExample Class Reference
Inheritance diagram for TfExample:
Inheritance graph
[legend]

Public Member Functions

void objectsDetectedCallback (const find_object_2d::ObjectsStampedConstPtr &msg)
 
void objectsDetectedCallback (const find_object_2d::msg::ObjectsStamped::ConstSharedPtr msg)
 
 TfExample ()
 
 TfExample ()
 

Private Attributes

std::string objFramePrefix_
 
ros::Subscriber subs_
 
rclcpp::Subscription< find_object_2d::msg::ObjectsStamped >::SharedPtr subs_
 
std::string targetFrameId_
 
std::shared_ptr< tf2_ros::BuffertfBuffer_
 
tf::TransformListener tfListener_
 
std::shared_ptr< tf2_ros::TransformListenertfListener_
 

Detailed Description

Definition at line 33 of file ros1/tf_example_node.cpp.

Constructor & Destructor Documentation

◆ TfExample() [1/2]

TfExample::TfExample ( )
inline

Definition at line 36 of file ros1/tf_example_node.cpp.

◆ TfExample() [2/2]

TfExample::TfExample ( )
inline

Definition at line 38 of file ros2/tf_example_node.cpp.

Member Function Documentation

◆ objectsDetectedCallback() [1/2]

void TfExample::objectsDetectedCallback ( const find_object_2d::ObjectsStampedConstPtr &  msg)
inline

Definition at line 49 of file ros1/tf_example_node.cpp.

◆ objectsDetectedCallback() [2/2]

void TfExample::objectsDetectedCallback ( const find_object_2d::msg::ObjectsStamped::ConstSharedPtr  msg)
inline

Definition at line 57 of file ros2/tf_example_node.cpp.

Member Data Documentation

◆ objFramePrefix_

std::string TfExample::objFramePrefix_
private

Definition at line 103 of file ros1/tf_example_node.cpp.

◆ subs_ [1/2]

ros::Subscriber TfExample::subs_
private

Definition at line 104 of file ros1/tf_example_node.cpp.

◆ subs_ [2/2]

rclcpp::Subscription<find_object_2d::msg::ObjectsStamped>::SharedPtr TfExample::subs_
private

Definition at line 112 of file ros2/tf_example_node.cpp.

◆ targetFrameId_

std::string TfExample::targetFrameId_
private

Definition at line 102 of file ros1/tf_example_node.cpp.

◆ tfBuffer_

std::shared_ptr<tf2_ros::Buffer> TfExample::tfBuffer_
private

Definition at line 113 of file ros2/tf_example_node.cpp.

◆ tfListener_ [1/2]

tf::TransformListener TfExample::tfListener_
private

Definition at line 105 of file ros1/tf_example_node.cpp.

◆ tfListener_ [2/2]

std::shared_ptr<tf2_ros::TransformListener> TfExample::tfListener_
private

Definition at line 114 of file ros2/tf_example_node.cpp.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Dec 12 2022 03:20:10