Skip to main content

CreateBoundingBoxes2D Class

Convert a flat vector of doubles into a vector of BoundingBox2D messages. More...

Declaration

class moveit_pro::behaviors::CreateBoundingBoxes2D { ... }

Included Headers

#include <create_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

CreateBoundingBoxes2D (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources)

Public Member Functions Index

BT::NodeStatustick () override

Public Static Functions Index

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

Description

Convert a flat vector of doubles into a vector of BoundingBox2D messages.

Accepts a flat list of values representing one or more bounding boxes using upper-left corner coordinates and dimensions. Values are ordered as:

x1; y1; w1; h1; x2; y2; w2; h2; ...

where semicolons are the separator used in BT XML. The total number of values must be a multiple of 4. Each group of four values specifies a single box.

Data Port NamePort TypeObject Type
valuesInputstd::vector<double>
bounding_boxesOutputstd::vector<vision_msgs::msg::BoundingBox2D>

Definition at line 33 of file create_bounding_boxes_2d.hpp.

Public Constructors

CreateBoundingBoxes2D()

moveit_pro::behaviors::CreateBoundingBoxes2D::CreateBoundingBoxes2D (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > & shared_resources)

Declaration at line 36 of file create_bounding_boxes_2d.hpp, definition at line 27 of file create_bounding_boxes_2d.cpp.

Public Member Functions

tick()

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

Declaration at line 43 of file create_bounding_boxes_2d.hpp, definition at line 46 of file create_bounding_boxes_2d.cpp.

Public Static Functions

metadata()

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

Declaration at line 41 of file create_bounding_boxes_2d.hpp, definition at line 100 of file create_bounding_boxes_2d.cpp.

providedPorts()

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

Declaration at line 39 of file create_bounding_boxes_2d.hpp, definition at line 34 of file create_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.