diff --git a/proto/viam/robot/v1/robot.proto b/proto/viam/robot/v1/robot.proto index 8104544a..7a268a3b 100644 --- a/proto/viam/robot/v1/robot.proto +++ b/proto/viam/robot/v1/robot.proto @@ -389,11 +389,13 @@ message ResourceStatus { STATE_UNCONFIGURED = 1; // a resource that is being configured. STATE_CONFIGURING = 2; - // a resource that has been successfully configured once and is not being + // a resource that has been successfully configured once, is healthy, and is not being // re-configured or removed. STATE_READY = 3; // a resource that is being removed from the robot. STATE_REMOVING = 4; + // a resource that is in an unheathy state. + STATE_UNHEALTHY = 5; } // resource name. @@ -407,6 +409,9 @@ message ResourceStatus { // revision of the last config that successfully updated this resource. string revision = 4; + + // error details for resources that are in an unhealthy state. + string error = 5; } message ConfigStatus {