wait_sensor
Pause robot execution until a specified sensor condition becomes true, with debounce and timeout, while motors remain stationary.
Instructions
Wait for a debounced sensor condition without moving a motor.
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": {
"port": "<port>",
"sensor_type": "<sensor_type>",
"condition": "<condition>"
},
"name": "wait_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| condition | Yes | ||
| threshold | No | ||
| debounce_ms | No | ||
| sensor_type | Yes | ||
| timeout_seconds | No |