topic_data
Compute min, mean, max, first, and last values for a PX4 uORB topic's fields over a time window. Optionally return downsampled samples.
Instructions
Min/mean/max/first/last of a topic's fields over a time window, optionally with a downsampled table.
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": "topic_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | No | path, '16_21_32.ulg', '2026-10-20/16_21_32', 'latest' or 'latest-N' | latest |
| t_to | No | end, s since log start | |
| topic | Yes | uORB topic, e.g. 'vehicle_local_position' or 'sensor_mag[1]' | |
| fields | No | fields to report; empty = all | |
| points | No | also return this many evenly spaced samples (0 = stats only) | |
| t_from | No | start, s since log start |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |