Class CANifierFaults

java.lang.Object
com.ctre.phoenix.CANifierFaults

public class CANifierFaults extends Object
Faults available to CANifier (Currently has none)
  • Constructor Details

  • Method Details

    • hasAnyFault

      public boolean hasAnyFault()
      Returns:
      true if any faults are tripped
    • toBitfield

      public int toBitfield()
      Returns:
      Current fault list as a bit field
    • update

      public void update(int bits)
      Updates current fault list with specified bit field of faults
      Parameters:
      bits - bit field of faults to update with