Class PDH

All Implemented Interfaces:
Sendable, Subsystem, Monitored

public class PDH extends SubsystemBase implements Monitored
Subsystem for monitoring the Power Distribution Hub (PDH) health and status.
  • Constructor Details

    • PDH

      public PDH(PDHIO io)
      Creates a new PDH subsystem.
      Parameters:
      io - The IO implementation to use.
  • Method Details

    • periodic

      public void periodic()
      Updates hardware inputs, logs data, and updates status alerts.
      Specified by:
      periodic in interface Subsystem
    • isHealthy

      public boolean isHealthy()
      Returns whether or not the subsystem is healthy
      Specified by:
      isHealthy in interface Monitored
      Returns:
      True if the subsystem is healthy, false otherwise.
    • clearFaults

      public void clearFaults()
      Clears all faults and warnings.
      Specified by:
      clearFaults in interface Monitored