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

Public Member Functions

void imageObjectsDetectedCallback (const sensor_msgs::msg::Image::ConstSharedPtr imageMsg, const find_object_2d::msg::ObjectsStamped::ConstSharedPtr objectsMsg)
 
void objectsDetectedCallback (const std_msgs::msg::Float32MultiArray::ConstSharedPtr msg)
 
 PrintObjects ()
 
virtual ~PrintObjects ()
 

Private Types

typedef message_filters::sync_policies::ExactTime< sensor_msgs::msg::Image, find_object_2d::msg::ObjectsStamped > MyExactSyncPolicy
 

Private Attributes

message_filters::Synchronizer< MyExactSyncPolicy > * exactSync_
 
image_transport::Publisher imagePub_
 
image_transport::SubscriberFilter imageSub_
 
message_filters::Subscriber< find_object_2d::msg::ObjectsStamped > objectsSub_
 
rclcpp::Subscription< std_msgs::msg::Float32MultiArray >::SharedPtr sub_
 

Detailed Description

Definition at line 39 of file ros2/print_objects_detected_node.cpp.

Member Typedef Documentation

◆ MyExactSyncPolicy

typedef message_filters::sync_policies::ExactTime< sensor_msgs::msg::Image, find_object_2d::msg::ObjectsStamped> PrintObjects::MyExactSyncPolicy
private

Definition at line 166 of file ros2/print_objects_detected_node.cpp.

Constructor & Destructor Documentation

◆ PrintObjects()

PrintObjects::PrintObjects ( )
inline

Definition at line 42 of file ros2/print_objects_detected_node.cpp.

◆ ~PrintObjects()

virtual PrintObjects::~PrintObjects ( )
inlinevirtual

Definition at line 60 of file ros2/print_objects_detected_node.cpp.

Member Function Documentation

◆ imageObjectsDetectedCallback()

void PrintObjects::imageObjectsDetectedCallback ( const sensor_msgs::msg::Image::ConstSharedPtr  imageMsg,
const find_object_2d::msg::ObjectsStamped::ConstSharedPtr  objectsMsg 
)
inline

Definition at line 107 of file ros2/print_objects_detected_node.cpp.

◆ objectsDetectedCallback()

void PrintObjects::objectsDetectedCallback ( const std_msgs::msg::Float32MultiArray::ConstSharedPtr  msg)
inline

IMPORTANT : Parameter General/MirrorView must be false Parameter Homography/homographyComputed must be true

Definition at line 70 of file ros2/print_objects_detected_node.cpp.

Member Data Documentation

◆ exactSync_

message_filters::Synchronizer<MyExactSyncPolicy>* PrintObjects::exactSync_
private

Definition at line 167 of file ros2/print_objects_detected_node.cpp.

◆ imagePub_

image_transport::Publisher PrintObjects::imagePub_
private

Definition at line 168 of file ros2/print_objects_detected_node.cpp.

◆ imageSub_

image_transport::SubscriberFilter PrintObjects::imageSub_
private

Definition at line 169 of file ros2/print_objects_detected_node.cpp.

◆ objectsSub_

message_filters::Subscriber<find_object_2d::msg::ObjectsStamped> PrintObjects::objectsSub_
private

Definition at line 170 of file ros2/print_objects_detected_node.cpp.

◆ sub_

rclcpp::Subscription<std_msgs::msg::Float32MultiArray>::SharedPtr PrintObjects::sub_
private

Definition at line 171 of file ros2/print_objects_detected_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