Class TalonSRXConfiguration
java.lang.Object
com.ctre.phoenix.CustomParamConfiguration
com.ctre.phoenix.motorcontrol.can.BaseMotorControllerConfiguration
com.ctre.phoenix.motorcontrol.can.BaseTalonConfiguration
com.ctre.phoenix.motorcontrol.can.TalonSRXConfiguration
Configurables available to TalonSRX
-
Field Summary
FieldsModifier and TypeFieldDescriptionintContinuous current in amps Current limit is activated when current exceeds the peak limit for longer than the peak duration.intPeak Current duration in milliseconds Current limit is activated when current exceeds the peak limit for longer than the peak duration.intPeak current in amps Current limit is activated when current exceeds the peak limit for longer than the peak duration.Fields inherited from class com.ctre.phoenix.motorcontrol.can.BaseTalonConfiguration
auxiliaryPID, diff0Term, diff1Term, forwardLimitSwitchDeviceID, forwardLimitSwitchNormal, forwardLimitSwitchSource, primaryPID, reverseLimitSwitchDeviceID, reverseLimitSwitchNormal, reverseLimitSwitchSource, sum0Term, sum1TermFields inherited from class com.ctre.phoenix.motorcontrol.can.BaseMotorControllerConfiguration
auxPIDPolarity, clearPositionOnLimitF, clearPositionOnLimitR, clearPositionOnQuadIdx, closedloopRamp, feedbackNotContinuous, forwardSoftLimitEnable, forwardSoftLimitThreshold, limitSwitchDisableNeutralOnLOS, motionAcceleration, motionCruiseVelocity, motionCurveStrength, motionProfileTrajectoryPeriod, neutralDeadband, nominalOutputForward, nominalOutputReverse, openloopRamp, peakOutputForward, peakOutputReverse, pulseWidthPeriod_EdgesPerRot, pulseWidthPeriod_FilterWindowSz, remoteFilter0, remoteFilter1, remoteSensorClosedLoopDisableNeutralOnLOS, reverseSoftLimitEnable, reverseSoftLimitThreshold, slot0, slot1, slot2, slot3, softLimitDisableNeutralOnLOS, trajectoryInterpolationEnable, velocityMeasurementPeriod, velocityMeasurementWindow, voltageCompSaturation, voltageMeasurementFilterFields inherited from class com.ctre.phoenix.CustomParamConfiguration
customParam0, customParam1, enableOptimizations -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
peakCurrentLimit
Peak current in amps Current limit is activated when current exceeds the peak limit for longer than the peak duration. Then software will limit to the continuous limit. This ensures current limiting while allowing for momentary excess current events. -
peakCurrentDuration
Peak Current duration in milliseconds Current limit is activated when current exceeds the peak limit for longer than the peak duration. Then software will limit to the continuous limit. This ensures current limiting while allowing for momentary excess current events. -
continuousCurrentLimit
Continuous current in amps Current limit is activated when current exceeds the peak limit for longer than the peak duration. Then software will limit to the continuous limit. This ensures current limiting while allowing for momentary excess current events.
-
-
Constructor Details
-
TalonSRXConfiguration
public TalonSRXConfiguration()
-
-
Method Details
-
toString
- Overrides:
toStringin classBaseTalonConfiguration- Returns:
- String representation of all the configs
-
toString
- Overrides:
toStringin classBaseTalonConfiguration- Parameters:
prependString- String to prepend to all the configs- Returns:
- String representation of all the configs
-