Skip to content

libstatistics_collector

  • Software
  • Middleware
  • Library

A C++ library for collecting observed data and computing statistics, including ROS 2 topic statistics such as message age and period. It also provides moving average calculations.

Made by ROS 2 Tooling Working Groups.

Source on GitHub: github.com/ros-tooling/libstatistics_collector (opens in a new tab). Facts read at commit de4edc7 (opens in a new tab).

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit de4edc7 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Offers a Collector interface for classes that gather observed data and generate statistics from it.
  • Provides a TopicStatisticsCollector interface for measuring ROS 2 topic statistics.
  • Includes classes that calculate ROS 2 message age and message period statistics.
  • Includes a MovingAverageStatistics class for computing moving average statistics.
  • The package is declared to be in Quality Level 1 in its quality declaration.

Written by Robotheca from the project's README (opens in a new tab) at commit de4edc7.

Getting started

Difficulty
Advanced

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
1 Oct 2026 on rolling
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.