nt_poll_subscription
Retrieve buffered samples from a NetworkTables subscription and optionally clear the buffer to prevent duplicate reads.
Instructions
Return buffered samples for a persistent subscription.
Response:
{"connected": bool, "samples": {topic: [{"time", "value"}, ...]}}.
clear=True empties the buffer after reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| subscription_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||