31 return t.name == resolvedName;
37 "You tried to record topic '{}' twice. I'll ignore that (and use the first rate limit given, if applicable)",
50 topic.messageRate = topic.messagesInStatsPeriod /
STAT_TIME;
51 topic.messagesInStatsPeriod = 0;
53 topic.bandwidth = topic.bytesInStatsPeriod /
STAT_TIME;
54 topic.bytesInStatsPeriod = 0;
std::vector< Topic > m_topics
static const ros::WallTime T0
SteadyTimer createSteadyTimer(WallDuration period, void(T::*callback)(const SteadyTimerEvent &), T *obj, bool oneshot=false, bool autostart=true) const
ROSCPP_DECL std::string resolve(const std::string &name, bool remap=true)
void addTopic(const std::string &topic, float rateLimit=0.0f, int flags=0)
constexpr float STAT_TIME