get_topic_frequency
Measures the publishing frequency of a ROS2 topic over a specified duration to diagnose communication rates.
Instructions
Measure the publishing frequency of a ROS2 topic.
Args: topic_name: Name of the topic to measure duration: How long to measure (default: 5 seconds)
Returns: Frequency information including average Hz.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Duration to measure frequency (seconds) | |
| topic_name | Yes | Name of the ROS2 topic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||