Autoware.Auto
wait_for_matched.hpp File Reference
#include <motion_testing_nodes/visibility_control.hpp>
#include <rclcpp/rclcpp.hpp>
#include <chrono>
#include <thread>
Include dependency graph for wait_for_matched.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 motion
 
 motion::motion_testing_nodes
 
 motion::motion_testing_nodes::details
 

Functions

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})