![]() |
MoveIt Pro API
Core Behaviors for MoveIt Pro
|
#include <chrono>
#include <memory>
#include <stop_token>
#include <string>
#include <thread>
#include <fmt/format.h>
#include <moveit_studio_behavior_interface/get_message_from_topic.hpp>
#include <tl_expected/expected.hpp>
Namespaces | |
namespace | moveit_studio |
namespace | moveit_studio::behaviors |
Functions | |
tl::expected< rclcpp::TopicEndpointInfo, std::string > | moveit_studio::behaviors::waitForPublisher (const std::stop_token &stopper, 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. | |