Skip to main content

CreateBoundingBox2D Class

Construct a BoundingBox2D message from individual coordinate and size ports. More...

Declaration

class moveit_pro::behaviors::CreateBoundingBox2D { ... }

Included Headers

#include <create_bounding_box_2d.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

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

Public Constructors Index

CreateBoundingBox2D (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

Construct a BoundingBox2D message from individual coordinate and size ports.

Creates a vision_msgs::msg::BoundingBox2D from upper-left corner coordinates and dimensions, suitable for wiring into behaviors that accept box prompts (e.g. GetMasks2DFromExemplar).

Data Port NamePort TypeObject Type
xInputdouble
yInputdouble
widthInputdouble
heightInputdouble
bounding_boxOutputvision_msgs::msg::BoundingBox2D

Definition at line 31 of file create_bounding_box_2d.hpp.

Public Constructors

CreateBoundingBox2D()

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

Declaration at line 34 of file create_bounding_box_2d.hpp, definition at line 28 of file create_bounding_box_2d.cpp.

Public Member Functions

tick()

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

Declaration at line 41 of file create_bounding_box_2d.hpp, definition at line 44 of file create_bounding_box_2d.cpp.

Public Static Functions

metadata()

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

Declaration at line 39 of file create_bounding_box_2d.hpp, definition at line 81 of file create_bounding_box_2d.cpp.

providedPorts()

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

Declaration at line 37 of file create_bounding_box_2d.hpp, definition at line 34 of file create_bounding_box_2d.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.