| sleep | Index |
Overview
The sleep primitive causes the Garcia thread to delay before executing another primitive in its behavior queue.
Return Status
This is an immediate primitive. It does not execute any programs on the robot. The return status is always the defined value aGARCIA_ERRFLAG_NORMAL .
Property Inheritance
sleep inherits Behavior inherits Object properties.
| Properties |
| duration |
duration (int) Sleep duration in milliseconds. |