#include <motion_testing_nodes/visibility_control.hpp>
#include <rclcpp/rclcpp.hpp>
#include <chrono>
#include <thread>
Go to the source code of this file.
|
template<typename ConditionF > |
std::chrono::nanoseconds | motion::motion_testing_nodes::details::wait_for_matched (const std::chrono::nanoseconds timeout, const std::chrono::nanoseconds poll_period, const ConditionF &condition) |
| Implementation of wait_for_matched. More...
|
|
MOTION_TESTING_NODES_PUBLIC std::chrono::nanoseconds | motion::motion_testing_nodes::wait_for_matched (const rclcpp::PublisherBase &pub, const std::size_t minimum_match_count, const std::chrono::nanoseconds timeout=std::chrono::seconds{5LL}, const std::chrono::nanoseconds poll_period=std::chrono::milliseconds{1LL}) |
|
MOTION_TESTING_NODES_PUBLIC std::chrono::nanoseconds | motion::motion_testing_nodes::wait_for_matched (const rclcpp::SubscriptionBase &sub, const std::size_t minimum_match_count, const std::chrono::nanoseconds timeout=std::chrono::seconds{5LL}, const std::chrono::nanoseconds poll_period=std::chrono::milliseconds{1LL}) |
|