|
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Convert a flat vector of doubles into a vector of BoundingBox2D messages. More...
#include <create_bounding_boxes_2d.hpp>


Public Member Functions | |
| CreateBoundingBoxes2D (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > &shared_resources) | |
| BT::NodeStatus | tick () override |
Public Member Functions inherited from moveit_pro::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
| SharedResourcesNode (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources) | |
| Constructor for SharedResourcesNode. Called by BT::BehaviorTreeFactory when creating a new behavior tree containing this node. | |
Static Public Member Functions | |
| static BT::PortsList | providedPorts () |
| static BT::KeyValueVector | metadata () |
Additional Inherited Members | |
Protected Attributes inherited from moveit_pro::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
| std::shared_ptr< BehaviorContext > | shared_resources_ |
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> |
| moveit_pro::behaviors::CreateBoundingBoxes2D::CreateBoundingBoxes2D | ( | const std::string & | name, |
| const BT::NodeConfiguration & | config, | ||
| const std::shared_ptr< moveit_pro::behaviors::BehaviorContext > & | shared_resources | ||
| ) |
|
static |
|
static |
|
override |