Class Power

java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.utilities.Power
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Subsystem

public class Power extends edu.wpi.first.wpilibj2.command.SubsystemBase
  • Method Details

    • getVoltage

      public static double getVoltage()
    • getCurrent

      public static double getCurrent()
    • getCurrent

      public static double getCurrent(int channel)
    • getAllCurrents

      public static double[] getAllCurrents()
    • getSwitchableChannel

      public static boolean getSwitchableChannel()
    • setSwitchableChannel

      public static void setSwitchableChannel(boolean enabled)
    • enableUnderglow

      public static void enableUnderglow()
    • disableUnderglow

      public static void disableUnderglow()
    • getFaults

      public static boolean[] getFaults()
    • hasFault

      public static boolean hasFault()
    • clearStickyFaults

      public static void clearStickyFaults()
    • getStickyFaults

      public static boolean[] getStickyFaults()
    • hasStickyFault

      public static boolean hasStickyFault()
    • periodic

      public void periodic()