Skip to main content

PublishEmpty Class

Publish a std_msgs::msg::Empty message to a topic. More...

Declaration

class moveit_pro::behaviors::PublishEmpty { ... }

Included Headers

#include <publish_empty.hpp>

Base class

classSendMessageToTopicBehaviorBase<MessageT>

Base class for Behaviors that send a message to a topic. The message contents and topic name are specified as input ports. More...

Public Constructors Index

PublishEmpty (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources)
PublishEmpty (const std::string &name, const BT::NodeConfiguration &config, const std::shared_ptr< BehaviorContext > &shared_resources, std::unique_ptr< PublisherInterfaceBase< std_msgs::msg::Empty > > publisher_interface)

Public Static Functions Index

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

Description

Publish a std_msgs::msg::Empty message to a topic.

Data Port NamePort TypeObject Type
topicInputstd::string
queue_sizeInputsize_t
use_best_effortInputbool

Definition at line 28 of file publish_empty.hpp.

Public Constructors

PublishEmpty()

moveit_pro::behaviors::PublishEmpty::PublishEmpty (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources)

Declaration at line 31 of file publish_empty.hpp, definition at line 19 of file publish_empty.cpp.

PublishEmpty()

moveit_pro::behaviors::PublishEmpty::PublishEmpty (const std::string & name, const BT::NodeConfiguration & config, const std::shared_ptr< BehaviorContext > & shared_resources, std::unique_ptr< PublisherInterfaceBase< std_msgs::msg::Empty > > publisher_interface)

Declaration at line 38 of file publish_empty.hpp, definition at line 41 of file publish_empty.cpp.

Public Static Functions

metadata()

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

Declaration at line 36 of file publish_empty.hpp, definition at line 36 of file publish_empty.cpp.

providedPorts()

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

Declaration at line 34 of file publish_empty.hpp, definition at line 25 of file publish_empty.cpp.


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


Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.