ros_topic_status
Inspect a ROS topic's sampling frequency and latest message summary to verify service health, such as confirming an ego-planner restart succeeded when occupancy updates appear.
Instructions
查询 ROS 话题状态:采样频率(hz) + 最新消息摘要。
在容器内执行 rostopic hz -w 5 与 rostopic echo -n 1 --noarr。
参数 topic 为完整话题名,例如 /drone_0_ego_planner_node/grid_map/occupancy。
用于验证 ego-planner 重启是否成功(occupancy 有 hz 即成功)等场景。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>"
},
"name": "ros_topic_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |