Interface ICurrentController
-
- All Known Implementing Classes:
TalonSRXCollection
public interface ICurrentControllerCommon interface for devices that with current output controls
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidenableCurrentLimit(boolean on)voidsetCompensation(boolean on)voidsetCurrentLimit(int threshold, int duration, int hold, int timeout)Configure a current limiting
-
-
-
Method Detail
-
setCurrentLimit
void setCurrentLimit(int threshold, int duration, int hold, int timeout)Configure a current limiting- Parameters:
threshold- Threshold to trigger limithold- Amperage to hold the controller at while limitingduration- How long the value must pass the threshold to be limitedtimeout- Timeout (can be 0)
-
setCompensation
void setCompensation(boolean on)
-
enableCurrentLimit
void enableCurrentLimit(boolean on)
-
-