CreateBoundingBoxes2D Class
Convert a flat vector of doubles into a vector of BoundingBox2D messages. More...
Declaration
Included Headers
Base class
| class | SharedResourcesNode<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::NodeStatus | tick () override |
Public Static Functions Index
| static BT::PortsList | providedPorts () |
| static BT::KeyValueVector | metadata () |
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 Name | Port Type | Object Type |
|---|---|---|
| values | Input | std::vector<double> |
| bounding_boxes | Output | std::vector<vision_msgs::msg::BoundingBox2D> |
Definition at line 33 of file create_bounding_boxes_2d.hpp.
Public Constructors
CreateBoundingBoxes2D()
|
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()
|
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()
| static |
Declaration at line 41 of file create_bounding_boxes_2d.hpp, definition at line 100 of file create_bounding_boxes_2d.cpp.
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.