-
Terminally Deprecated ElementsElementDescriptionuse
AnalogInputinstead (orSparkMaxAnalogSensorif the analog sensor is connected directly to a SPARK MAX)UseSparkMaxAnalogSensor.ModeinsteadUseSparkMaxLimitSwitchinstead.UseSparkMaxLimitSwitch.Typeinstead.useRelativeEncoderinstead.UseSparkMaxPIDControllerinstead.UseSparkMaxPIDController.AccelStrategyinstead.UseSparkMaxPIDController.ArbFFUnitsinstead.UseMotorFeedbackSensorinsteadUseCANSparkMax.getAnalog(SparkMaxAnalogSensor.Mode)insteadUseCANSparkMaxLowLevel.getMotorType()insteadUseCANSparkMax.ControlTypeinstead.UseSparkMaxRelativeEncoder.Typeinstead.UseSparkMaxLimitSwitch.isPressed()instead
-
Deprecated InterfacesInterfaceDescriptionuse
AnalogInputinstead (orSparkMaxAnalogSensorif the analog sensor is connected directly to a SPARK MAX)UseSparkMaxLimitSwitchinstead.useRelativeEncoderinstead.UseSparkMaxPIDControllerinstead.UseMotorFeedbackSensorinstead
-
Deprecated Enum ClassesEnum ClassDescriptionUse
SparkMaxAlternateEncoder.Typeinstead.UseSparkMaxAnalogSensor.ModeinsteadUseSparkMaxLimitSwitch.Typeinstead.UseSparkMaxPIDController.AccelStrategyinstead.UseSparkMaxPIDController.ArbFFUnitsinstead.UseCANSparkMax.ControlTypeinstead.UseSparkMaxRelativeEncoder.Typeinstead.
-
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.Typeinstead.