Class MotorSafetyImplem
java.lang.Object
org.wpilib.hardware.motor.MotorSafety
com.ctre.phoenix6.wpiutils.MotorSafetyImplem
Implem of MotorSafety interface from WPILib. This also allows late/lazy
construction of WPILib's motor safety object.
-
Constructor Summary
ConstructorsConstructorDescriptionMotorSafetyImplem(Runnable stopMotor, String description) Constructor for MotorSafetyImplem -
Method Summary
Modifier and TypeMethodDescriptionReturns a description to print when an error occurs.voidStops the controllerMethods inherited from class MotorSafety
check, checkMotors, feed, getExpiration, isAlive, isSafetyEnabled, setExpiration, setSafetyEnabled
-
Constructor Details
-
MotorSafetyImplem
-
-
Method Details
-
stopMotor
-
getDescription
Description copied from class:MotorSafetyReturns a description to print when an error occurs.- Specified by:
getDescriptionin classMotorSafety- Returns:
- Description of motor controller
-