Patent attributes
Methods, systems, and devices for managing robot resources are described. A robot receives from an application a request to reserve a particular set of physical resources of the robot. The robot then determines that each of the physical resources in the set are available to the application and, based on the determination, allocates exclusive use of the particular set of resources to the application by (i) generating a token corresponding to the set of resources, (ii) providing the token to the application, and (iii) updating token data that associates the token with the set of resources. The robot then controls access to the particular set of resources such that, while token data indicates that the token is valid, commands from applications that involve the set of resources are only executed when provided with the token corresponding to the allocation of access to the particular set of resources.