17 #ifndef PILZ_UTILS_WAIT_FOR_SERVICE_H 18 #define PILZ_UTILS_WAIT_FOR_SERVICE_H 40 "Waiting for service \"" 41 + service_name +
"\"...");
48 #endif // PILZ_UTILS_WAIT_FOR_SERVICE_H
static constexpr double DEFAULT_MSG_OUTPUT_PERIOD
static constexpr double DEFAULT_RETRY_TIMEOUT
static void waitForService(const std::string service_name, const double retry_timeout=DEFAULT_RETRY_TIMEOUT, const double msg_output_period=DEFAULT_MSG_OUTPUT_PERIOD)
Waits until the specified service starts.
#define ROS_WARN_STREAM_DELAYED_THROTTLE(rate, args)
ROSCPP_DECL bool waitForService(const std::string &service_name, int32_t timeout)