Interface ICurrentController

  • All Known Implementing Classes:
    TalonSRXCollection

    public interface ICurrentController
    Common interface for devices that with current output controls
    • Method Detail

      • setCurrentLimit

        void setCurrentLimit​(int threshold,
                             int duration,
                             int hold,
                             int timeout)
        Configure a current limiting
        Parameters:
        threshold - Threshold to trigger limit
        hold - Amperage to hold the controller at while limiting
        duration - How long the value must pass the threshold to be limited
        timeout - Timeout (can be 0)
      • setCompensation

        void setCompensation​(boolean on)
      • enableCurrentLimit

        void enableCurrentLimit​(boolean on)