Skip to main content

PublishMask2D Class

Publishes a masks visualization to topic. More...

Declaration

class moveit_pro::behaviors::PublishMask2D { ... }

Included Headers

#include <publish_mask2d.hpp>

Base class

classSharedResourcesNode<BehaviorTreeNodeT>

The SharedResourcesNode class provides a BehaviorContext object when constructing a BehaviorTree.Cpp node. More...

Public Constructors Index

PublishMask2D (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources, std::unique_ptr< ROSPublisherHandle > ros_publisher_interface=std::make_unique< ROSPublisherHandle >())

Public Member Functions Index

BT::NodeStatustick () override

Private Member Attributes Index

std::unique_ptr< ROSPublisherHandle >ros_publisher_interface_

Public Static Functions Index

static BT::PortsListprovidedPorts ()
static BT::KeyValueVectormetadata ()

Description

Publishes a masks visualization to topic.

Data Port NamePort TypeObject Type
masks_visualization_topicinputstd::string
masksinputstd::vector<moveit_studio_vision_msgs::msg::Mask2D>

Definition at line 30 of file publish_mask2d.hpp.

Public Constructors

PublishMask2D()

moveit_pro::behaviors::PublishMask2D::PublishMask2D (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources, std::unique_ptr< ROSPublisherHandle > ros_publisher_interface=std::make_unique< ROSPublisherHandle >())

Declaration at line 33 of file publish_mask2d.hpp, definition at line 120 of file publish_mask2d.cpp.

Public Member Functions

tick()

BT::NodeStatus moveit_pro::behaviors::PublishMask2D::tick ()

Declaration at line 41 of file publish_mask2d.hpp, definition at line 148 of file publish_mask2d.cpp.

Private Member Attributes

ros_publisher_interface_

std::unique_ptr<ROSPublisherHandle> moveit_pro::behaviors::PublishMask2D::ros_publisher_interface_

Definition at line 44 of file publish_mask2d.hpp.

Public Static Functions

metadata()

BT::KeyValueVector moveit_pro::behaviors::PublishMask2D::metadata ()
static

Declaration at line 39 of file publish_mask2d.hpp, definition at line 214 of file publish_mask2d.cpp.

providedPorts()

BT::PortsList moveit_pro::behaviors::PublishMask2D::providedPorts ()
static

Declaration at line 37 of file publish_mask2d.hpp, definition at line 127 of file publish_mask2d.cpp.


The documentation for this class was generated from the following files:


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.