Class Detection2DOverlay
Defined in File detection2d_overlay.hpp
Inheritance Relationships
Base Type
public rclcpp::Node
Class Documentation
-
class Detection2DOverlay : public rclcpp::Node
Public Types
-
typedef message_filters::sync_policies::ApproximateTime<sensor_msgs::msg::Image, vision_msgs::msg::Detection2DArray> syncPolicy
Public Members
-
message_filters::Subscriber<sensor_msgs::msg::Image> previewSub
-
message_filters::Subscriber<vision_msgs::msg::Detection2DArray> detSub
-
std::unique_ptr<message_filters::Synchronizer<syncPolicy>> sync
-
rclcpp::Publisher<sensor_msgs::msg::Image>::SharedPtr overlayPub
-
std::vector<std::string> labelMap = {"background", "aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"}
-
typedef message_filters::sync_policies::ApproximateTime<sensor_msgs::msg::Image, vision_msgs::msg::Detection2DArray> syncPolicy