Package frc.lib.monitor.checkers
Class PDHMonitor
java.lang.Object
frc.lib.monitor.checkers.PDHMonitor
Monitors the health of the Power Distribution Hub (PDH).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdate(boolean connected, int active, int sticky) Updates the health monitor with the latest PDH status.
-
Constructor Details
-
PDHMonitor
public PDHMonitor()
-
-
Method Details
-
update
public void update(boolean connected, int active, int sticky) Updates the health monitor with the latest PDH status.- Parameters:
connected- Whether the PDH is connected.active- The active faults bitfield.sticky- The sticky faults bitfield.
-