Skip to content

ros2_pulse 0.9: per-DDS domain topic rates now available in apt testing for Humble through Lyrical

ROS Discourse — Community updates1TanayK07

The ros2_pulse tool, version 0.9, is released as an LD_PRELOAD probe that counts publishes and receives inside existing ROS 2 nodes without subscribing.

ros2_pulse (GitHub - TanayK07/ros2_pulse: ros2 topic hz for every topic at once, without subscribing. Rates, gaps and node liveness, intra-process included, on stock ROS 2 binaries. · GitHub) is an LD_PRELOAD probe that counts publishes and receives inside your existing nodes, so you get the rate of every topic in every process without starting a subscriber. Linux only.

0.9 is now in ros2-testing for Humble, Jazzy, Kilted and Lyrical, and reaches the main repo at the next sync:

sudo apt install ros-$ROS_DISTRO-ros2-pulse

What changed since the 0.7 debs:

  • DDS domain on every rate. Each window and each Prometheus series carries the ROS_DOMAIN_ID the process actually joined, so when several robots or sims share a network you can tell which one a rate came from.
  • Humble: bag record and generic subscriptions counted. ros2 bag record, create_generic_subscription and rclpy raw=True subscribers had no receive rate on Humble. They do now.
  • pulse-check is calmer in CI. It judges each log by its complete windows only, so a process that lived a few seconds or exited early no longer fails the whole run.
  • ROS_TOPIC_STATS_OUTPUT_DIR. One directory for the per process logs, so parallel test runs stay apart without moving TMPDIR.
  • Prometheus alert rules, tested with promtool, and the exporter’s default port is now 10061.
  • Lyrical builds and runs the full test suite in CI.

If you try it and something looks off, an issue or a reply here helps a lot.

Source notes

  1. Ros2_pulse 0.9: topic rates per DDS domain, now in apt testing for Humble to Lyrical↩
Source evidence

Reported by the source; not independently verified.

  1. Kilted and Lyrical, and reaches the main repo at the next sync: sudo apt install ros-$ROS_DISTRO-ros2-pulse What changed since the 0.7 debs: DDS domain on every rate. Each window and each Prometheus series carries the ROS_DOMAIN_ID the process actually joined, so when several robots or sims share a network you can tell which one a rate came from. Humble: bag record and generic subscriptions counted. ros2 bag record
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
Signal

The tool provides per-DDS domain topic rate metrics on stock ROS 2 binaries without requiring subscribers, addressing previous gaps in receive rate reporting for Humble and adding support for Jazzy, Kilted, and Lyrical.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).