|
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
Extract bounding box dimensions and area from a single Mask2D message. More...
#include <get_mask2d_properties.hpp>


Public Member Functions | |
| GetMask2DProperties (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources) | |
| BT::NodeStatus | tick () override |
Public Member Functions inherited from moveit_studio::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_studio::behaviors::SharedResourcesNode< BT::SyncActionNode > | |
| std::shared_ptr< BehaviorContext > | shared_resources_ |
Extract bounding box dimensions and area from a single Mask2D message.
Analyzes a 2D mask to compute:
| Data Port Name | Port Type | Object Type |
|---|---|---|
| mask | Input | moveit_studio_vision_msgs::msg::Mask2D |
| width | Output | int |
| height | Output | int |
| area | Output | int |
| moveit_studio::behaviors::GetMask2DProperties::GetMask2DProperties | ( | const std::string & | name, |
| const BT::NodeConfiguration & | config, | ||
| const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > & | shared_resources | ||
| ) |
|
static |
|
static |
|
override |