PAL Statistics Framework
The PAL Statistics Framework provides a way of gathering, aggregating, storing and visualizing statistics from arbitrary sources in a flexible and real-time safe way in ROS. From internal variables values to high level statistics about, but not limited to, robot performance.
To log a variable, it must be registered with a name to a topic. Registering can be as easy as:
double my_variable = 3.0; REGISTER_VARIABLE("/statistics_topic", "my_variable_name", &my_variable);
To publish all variables registered to a topic:
And to unregister:
Data transmission and storing
Data is sent via ROS topics of type pal_statistics_msgs/Statistics which basically is an array of names/doubles.
Data can be stored as rosbags, like all ros topics. It's also designed to be integrated with Graphite, which is:
Graphite is an enterprise-ready monitoring tool that runs equally well on cheap hardware or Cloud infrastructure. Teams use Graphite to track the performance of their websites, applications, business services, and networked servers. It marked the start of a new generation of monitoring tools, making it easier than ever to store, retrieve, share, and visualize time-series data.
Data can be visualized with any tools that display ROS topics, but we recommend PlotJuggler for viewing high resolution live data, or data in bags.
Or you can view historic data via Grafana
The tutorials are hosted on the ROS wiki
Supported by ROSIN - ROS-Industrial Quality-Assured Robot Software Components.
More information: rosin-project.eu
This project has received funding from the European Union’s Horizon 2020
research and innovation programme under grant agreement no. 732287.