MoveIt Pro Behavior
Core Behaviors for MoveIt Pro
|
Publishes a masks visualization to topic. More...
#include <publish_mask2d.hpp>
Public Member Functions | |
PublishMask2D (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources, std::unique_ptr< ROSPublisherInterface > ros_publisher_interface=std::make_unique< ROSPublisherInterface >()) | |
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 () |
Protected Attributes | |
std::unique_ptr< ROSPublisherInterface > | ros_publisher_interface_ |
![]() | |
std::shared_ptr< BehaviorContext > | shared_resources_ |
Publishes a masks visualization to topic.
Data Port Name | Port Type | Object Type |
---|---|---|
masks_visualization_topic | input | std::string |
masks | input | std::vector<moveit_studio_vision_msgs::msg::Mask2D> |
moveit_studio::behaviors::PublishMask2D::PublishMask2D | ( | const std::string & | name, |
const BT::NodeConfiguration & | config, | ||
const std::shared_ptr< BehaviorContext > & | shared_resources, | ||
std::unique_ptr< ROSPublisherInterface > | ros_publisher_interface = std::make_unique<ROSPublisherInterface>() |
||
) |
|
static |
|
static |
|
override |
|
protected |