compare_ros_topics
Compares two ROS 2 topics by sampling both for a set duration, then matching messages one-to-one via exact or tolerance timestamp alignment in compatible clock domains.
Instructions
Simultaneously sample two topics, require explicit compatible clock domains, then one-to-one exact/tolerance match. Sampling phase is not physical clock offset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_a | Yes | ||
| topic_b | Yes | ||
| strategy | No | exact | |
| duration_s | No | ||
| tolerance_ns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| source | Yes | ||
| status | No | valid | |
| warnings | No | ||
| measurements | No | ||
| schema_version | No | 1.0 | |
| observed_at_utc | No | ||
| measurement_kind | No | observed |