monitor_topic
Collect messages from a ROS 2 topic over a specified time or message count to observe data flow and diagnose problems.
Instructions
Monitor a ROS 2 topic for a specified duration. Collects messages over time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_name | Yes | The name of the topic to monitor | |
| message_count | No | Stop after collecting this many messages (whichever comes first) | |
| duration_seconds | No | How long to monitor (max 30 seconds) |