MoveIt Pro Behavior Interface  5.3.2
Library for developing custom behaviors for use in MoveIt Pro
get_message_from_topic.hpp File Reference
Include dependency graph for get_message_from_topic.hpp:
This graph shows which files directly or indirectly include this file:

Classes

class  moveit_studio::behaviors::GetMessageFromTopicBehaviorBase< MessageT >
 Base class for Behaviors that get the latest message from a topic specified on an input data port and set that message to an output data port. More...
 
class  moveit_studio::behaviors::GetMessageFromTopicBehaviorBase< MessageT >::SubscriberInterfaceBase
 Defines an interface to a subscriber that blocks while waiting for a message to be received on a topic. More...
 
class  moveit_studio::behaviors::GetMessageFromTopicBehaviorBase< MessageT >::RclcppSubscriberInterface
 Implementation of the subscriber interface for a rclcpp subscription. More...
 

Namespaces

 moveit_studio
 
 moveit_studio::behaviors
 

Functions

template<typename MessageT >
bool moveit_studio::behaviors::shouldRecreateSubscriber (const std::shared_ptr< rclcpp::Subscription< MessageT >> &subscriber, const std::string &topic_name, const rclcpp::QoS &publisher_qos)
 Compare a subscriber's current configuration to the desired new configuration to determine if the subscriber needs to be recreated. More...
 
tl::expected< rclcpp::TopicEndpointInfo, std::string > moveit_studio::behaviors::waitForPublisher (const std::shared_ptr< rclcpp::Node > &node, const std::string &topic_name)
 Waits for a publisher to be advertised on the provided topic, and gets the TopicEndpointInfo for the publisher once it appears. More...