Class kinematics_metrics_collector
Defined in File kinematics_metrics_collector.hpp
Inheritance Relationships
Base Types
public rer::client< kinematics_metrics_collector >
public rmetrics::base_collector
Class Documentation
-
class kinematics_metrics_collector : public rer::client<kinematics_metrics_collector>, public rmetrics::base_collector
Collector for kinematics_metrics.
Metrics CAN be collected in parallel from robots; concurrent updates to the gathered stats are supported.
Public Functions
-
kinematics_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink, size_t n_robots, size_t n_contexts)
- Parameters:
sink – The metrics sink to use.
n_robots – How many robotsare being tracked.
-
void collect(const rmetrics::base_metrics &metrics) override
-
inline const rmetrics::base_data *data(void) const override
-
void reset_after_interval(void) override
-
kinematics_metrics_collector(std::unique_ptr<rmetrics::base_sink> sink, size_t n_robots, size_t n_contexts)