edu.wpi.first.wpilibj

## Interface MotorSafety

- All Known Implementing Classes:
    DifferentialDrive, Jaguar, KilloughDrive, MecanumDrive, PWMSpeedController, PWMTalonSRX, Relay, RobotDrive, RobotDriveBase, SafePWM, SD540, Spark, Talon, Victor, VictorSP

      public interface MotorSafety

  Shuts off motors when their outputs aren't updated often enough.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static double` | `DEFAULT_SAFETY_EXPIRATION`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getDescription()`
    `double` | `getExpiration()`
    `boolean` | `isAlive()`
    `boolean` | `isSafetyEnabled()`
    `void` | `setExpiration(double timeout)`
    `void` | `setSafetyEnabled(boolean enabled)`
    `void` | `stopMotor()`

- - ### Field Detail

    - #### DEFAULT_SAFETY_EXPIRATION

          static final double DEFAULT_SAFETY_EXPIRATION

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### setExpiration

          void setExpiration(double timeout)

    - #### getExpiration

          double getExpiration()

    - #### isAlive

          boolean isAlive()

    - #### stopMotor

          void stopMotor()

    - #### setSafetyEnabled

          void setSafetyEnabled(boolean enabled)

    - #### isSafetyEnabled

          boolean isSafetyEnabled()

    - #### getDescription

          java.lang.String getDescription()