Member values
Member name | Data type | Description | Usage |
---|---|---|---|
handle | SafetyHandle | Handle to safety to configure | To set handle, you simply assign a value directly to a field within handle. You can also use the parent message’s HasField() method to check if a message type field value has been set. |
error_threshold | float | Safety error threshold value | You can manipulate the field error_threshold as if it were a regular field. To clear the value of error_threshold and reset it to the default value for its type, you call the ClearField() method of the Message interface. |
warning_threshold | float | Safety warning threshold value | You can manipulate the field warning_threshold as if it were a regular field. To clear the value of warning_threshold and reset it to the default value for its type, you call the ClearField() method of the Message interface. |
enable | SafetyEnable | Safety enable state | To set enable, you simply assign a value directly to a field within enable. You can also use the parent message’s HasField() method to check if a message type field value has been set. |
Parent topic: DeviceConfig (Python)