Class CurrentLimitManager


  • public class CurrentLimitManager
    extends java.lang.Object
    A class for running current limits
    • Constructor Detail

      • CurrentLimitManager

        public CurrentLimitManager​(PowerDistributionPanel pdp)
        Parameters:
        pdp - the robot pdp
    • Method Detail

      • addCurrentLimit

        public static void addCurrentLimit​(CurrentLimit currentLimit)
        Parameters:
        currentLimit - adds a current limit to the active list
      • removeCurrentLimit

        public static void removeCurrentLimit​(CurrentLimit currentLimit)
        Parameters:
        currentLimit - removes a current limit to the active list
      • performCurrentLimits

        public void performCurrentLimits()
        Runs the current limit for all active current limit