Class MotorSafetyImplem

java.lang.Object
edu.wpi.first.wpilibj.MotorSafety
com.ctre.phoenixpro.wpiutils.MotorSafetyImplem

@Deprecated(forRemoval=true)
public class MotorSafetyImplem
extends MotorSafety
Deprecated, for removal: This API element is subject to removal in a future version.
Classes in the phoenixpro package will be removed in 2024. Users should instead use classes from the phoenix6 package.
implem of MotorSafety interface in WPI. This also allows late/lazy construction of WPI's motor safety object (which mitigates late-released bugs from WPI).
  • Constructor Details

    • MotorSafetyImplem

      @Deprecated(forRemoval=true) public MotorSafetyImplem​(MotorController speedController, String description)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Classes in the phoenixpro package will be removed in 2024. Users should instead use classes from the phoenix6 package.
      Constructor for WPI_MotorSafetyImplem
      Parameters:
      speedController - Motor Controller to implement motor safety on
      description - Description of motor controller
  • Method Details