Class CurrentLimit
java.lang.Object
frc.team_8840_lib.utils.controllers.swerve.structs.CurrentLimit
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubledoubledouble -
Constructor Summary
ConstructorsConstructorDescriptionCurrentLimit(double continuousCurrent, double peakCurrent, double currentDuration) -
Method Summary
-
Field Details
-
continuousCurrent
public double continuousCurrent -
peakCurrent
public double peakCurrent -
currentDuration
public double currentDuration
-
-
Constructor Details
-
CurrentLimit
public CurrentLimit(double continuousCurrent, double peakCurrent, double currentDuration)
-
-
Method Details
-
toCTRE
public com.ctre.phoenix.motorcontrol.SupplyCurrentLimitConfiguration toCTRE() -
toCTRE
public com.ctre.phoenix.motorcontrol.SupplyCurrentLimitConfiguration toCTRE(boolean enabled)
-