MotorError

@objc(GSMotorError)
public enum MotorError : Int

Motor error.

  • No error.

    Declaration

    Swift

    case noError
  • Motor is stalled.

    Declaration

    Swift

    case stalled
  • Motor has been put in security mode.

    Declaration

    Swift

    case securityMode
  • Motor has been stopped due to emergency.

    Declaration

    Swift

    case emergencyStop
  • Battery voltage out of bounds.

    Declaration

    Swift

    case batteryVoltage
  • Incorrect number of LIPO cells.

    Declaration

    Swift

    case lipocells
  • Too hot or too cold Cypress temperature.

    Declaration

    Swift

    case temperature
  • Defective MOSFET or broken motor phases.

    Declaration

    Swift

    case mosfet
  • Other error.

    Declaration

    Swift

    case other
  • Debug description.

    Declaration

    Swift

    public var description: String { get }