-
Terminally Deprecated ElementsElementDescriptionuse
AnalogInput
instead (orSparkMaxAnalogSensor
if the analog sensor is connected directly to a SPARK MAX)UseSparkMaxAnalogSensor.Mode
insteadUseSparkMaxLimitSwitch
instead.UseSparkMaxLimitSwitch.Type
instead.useRelativeEncoder
instead.UseSparkMaxPIDController
instead.UseSparkMaxPIDController.AccelStrategy
instead.UseSparkMaxPIDController.ArbFFUnits
instead.UseMotorFeedbackSensor
insteadUseCANSparkMax.getAnalog(SparkMaxAnalogSensor.Mode)
insteadUseCANSparkMaxLowLevel.getMotorType()
insteadUseCANSparkMax.ControlType
instead.UseSparkMaxRelativeEncoder.Type
instead.UseSparkMaxLimitSwitch.isPressed()
instead
-
Deprecated InterfacesInterfaceDescriptionuse
AnalogInput
instead (orSparkMaxAnalogSensor
if the analog sensor is connected directly to a SPARK MAX)UseSparkMaxLimitSwitch
instead.useRelativeEncoder
instead.UseSparkMaxPIDController
instead.UseMotorFeedbackSensor
instead
-
Deprecated Enum ClassesEnum ClassDescriptionUse
SparkMaxAlternateEncoder.Type
instead.UseSparkMaxAnalogSensor.Mode
insteadUseSparkMaxLimitSwitch.Type
instead.UseSparkMaxPIDController.AccelStrategy
instead.UseSparkMaxPIDController.ArbFFUnits
instead.UseCANSparkMax.ControlType
instead.UseSparkMaxRelativeEncoder.Type
instead.
-
Deprecated MethodsMethodDescriptionUse the overload with SensorVelocityMeasPeriod instead.Use the overload with SensorVelocityMeasPeriod instead.Use configAll instead.com.ctre.phoenix.motorcontrol.can.BaseMotorController.configureFilter
(FilterConfiguration, int, int) Use configAll instead.Use the 3-parameter configureFilter. 4-param version is deprecated and will be removed.Use configAll instead.Use configAll instead.Use the overload with SensorVelocityMeasPeriod instead.Use the overload with SensorVelocityMeasPeriod instead.Use getStatorCurrent/getSupplyCurrent instead.Use the overload with SensorVelocityMeasPeriod instead.com.ctre.phoenix.motorcontrol.can.BaseTalon.configVelocityMeasurementPeriod(VelocityMeasPeriod, int) Use the overload with SensorVelocityMeasPeriod instead.Use getStatorCurrent/getSupplyCurrent instead.Use getStatorCurrent/getSupplyCurrent instead.Use the overload with SensorVelocityMeasPeriod instead.Use getStatorCurrent/getSupplyCurrent instead.pass the CAN interface to device constructors instead, or call registerCANbusUseCANSparkMax.getAnalog(SparkMaxAnalogSensor.Mode)
insteadUseCANSparkMaxLowLevel.getMotorType()
insteadUseSparkMaxLimitSwitch.isPressed()
instead
-
Deprecated Enum ConstantsEnum ConstantDescriptionUse "None" instead.
SparkMaxAlternateEncoder.Type
instead.