Class DeviceHealthCheck.Device
java.lang.Object
frc.spectrumLib.checks.DeviceHealthCheck.Device
- Enclosing class:
DeviceHealthCheck
One device: its name, its group, and where its logged state comes from.
-
Method Summary
Modifier and TypeMethodDescriptionmissingIs(Supplier<CheckResult.Status> status) How bad it is when this device is missing;CheckResult.Status.FAILunless changed.Anything else wrong with it while connected (e.g.resets(BooleanSupplier resetThisLoop) Its reset input: true on the loop it reports having rebooted.
-
Method Details
-
resets
Its reset input: true on the loop it reports having rebooted. -
missingIs
How bad it is when this device is missing;CheckResult.Status.FAILunless changed.CheckResult.Status.SKIPleaves the device out of the check (e.g. a camera nothing uses right now). -
problem
Anything else wrong with it while connected (e.g. its clock is off), as a short phrase, or null. Reported as a warning.
-