MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
Given a mask, compute the centroid and write the point to the blackboard. More...
#include <get_center_from_mask2d.hpp>
Public Member Functions | |
GetCenterFromMask2D (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > &shared_resources) | |
BT::NodeStatus | tick () override |
![]() | |
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 | |
![]() | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Given a mask, compute the centroid and write the point to the blackboard.
Data Port Name | Port Type | Object Type |
---|---|---|
mask | Input | moveit_studio_vision_msgs::msg::Mask2D |
center | Output | geometry_msgs::msg::PointStamped |
moveit_studio::behaviors::GetCenterFromMask2D::GetCenterFromMask2D | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< moveit_studio::behaviors::BehaviorContext > & | shared_resources | ||
) |
|
static |
|
static |
|
override |