Struct PollerConfig

Struct Documentation

struct PollerConfig

Configuration for the poller.

Public Members

bool prefer_subscriptions = {false}
double subscription_interval_ms = {500.0}
std::chrono::milliseconds poll_interval = {1000}
std::chrono::milliseconds reconnect_interval = {5000}
std::function<void(const std::string&)> log_warn

Optional warn-level log sink for operator-visible failures inside the poll thread. Set by the plugin owning the poller to its log_warn helper so events like ConditionRefresh failed reach the ROS 2 log instead of stderr only. Empty by default - the poller falls back to stderr in that case.