Skip to main content

PublishBoundingBoxes2D Class

Publishes a bounding box visualization to a topic. More...

Declaration

class moveit_pro::behaviors::PublishBoundingBoxes2D { ... }

Included Headers

#include <publish_bounding_boxes_2d.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

PublishBoundingBoxes2D (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources, std::unique_ptr< ROSPublisherHandle > ros_publisher_interface=std::make_unique< ROSPublisherHandle >())

Public Member Functions Index

BT::NodeStatustick () override

Private Member Attributes Index

std::unique_ptr< ROSPublisherHandle >ros_publisher_interface_

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description

Publishes a bounding box visualization to a topic.

Data Port NamePort TypeObject Type
bboxes_visualization_topicinputstd::string
imageinputsensor_msgs::msg::Image
bounding_boxesinputstd::vector<vision_msgs::msg::BoundingBox2D>
labelsinputstd::vector<std::string>

Definition at line 34 of file publish_bounding_boxes_2d.hpp.

Public Constructors

PublishBoundingBoxes2D()

moveit_pro::behaviors::PublishBoundingBoxes2D::PublishBoundingBoxes2D (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources, std::unique_ptr< ROSPublisherHandle > ros_publisher_interface=std::make_unique< ROSPublisherHandle >())

Declaration at line 37 of file publish_bounding_boxes_2d.hpp, definition at line 38 of file publish_bounding_boxes_2d.cpp.

Public Member Functions

tick()

BT::NodeStatus moveit_pro::behaviors::PublishBoundingBoxes2D::tick ()

Declaration at line 46 of file publish_bounding_boxes_2d.hpp, definition at line 60 of file publish_bounding_boxes_2d.cpp.

Private Member Attributes

ros_publisher_interface_

std::unique_ptr<ROSPublisherHandle> moveit_pro::behaviors::PublishBoundingBoxes2D::ros_publisher_interface_

Definition at line 49 of file publish_bounding_boxes_2d.hpp.

Public Static Functions

metadata()

BT::KeyValueVector moveit_pro::behaviors::PublishBoundingBoxes2D::metadata ()
static

Declaration at line 44 of file publish_bounding_boxes_2d.hpp, definition at line 113 of file publish_bounding_boxes_2d.cpp.

providedPorts()

BT::PortsList moveit_pro::behaviors::PublishBoundingBoxes2D::providedPorts ()
static

Declaration at line 42 of file publish_bounding_boxes_2d.hpp, definition at line 45 of file publish_bounding_boxes_2d.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.