Wait for a standalone run to end
cm_standalone_wait_endWait for a standalone CarMaker simulation to finish and return simulation time, distance, error flag, and log errors. Call again while unfinished to keep waiting.
Instructions
Wait until the instance's simulation has finished. finished=true: simulation time and distance, error flag and log errors. finished=false: call again to keep waiting.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cm_standalone_wait_end"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | Standalone instance id such as 'sa1' (may be omitted while there is only one) | |
| timeout_s | No | Longest time to wait in s, at most 50 (larger values are cut to 50); call again if not finished |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||