Wait for a standalone run to end
cm_standalone_wait_endWait for a standalone CarMaker simulation to finish and return elapsed time, distance, and error details; call again if it is still running.
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.
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 seconds; keep it below your client's tool time-out and call again if not finished |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||