GimbalError

@objc(GSGimbalError)
public enum GimbalError : Int, CustomStringConvertible

Gimbal error.

  • Calibration error.

    May happen during manual or automatic calibration.

    Application should inform the user that the gimbal is currently inoperable and suggest to verify that nothing currently hinders proper gimbal movement.

    The device will retry calibration regularly; after several failed attempts, it will escalate the current error to .critical level, at which point the gimbal becomes inoperable until both the issue is fixed and the device is restarted.

    Declaration

    Swift

    case calibration
  • Overload error.

    May happen during normal operation of the gimbal.

    Application should inform the user that the gimbal is currently inoperable and suggest to verify that nothing currently hinders proper gimbal movement.

    The device will retry stabilization regularly; after several failed attempts, it will escalate the current error to .critical level, at which point the gimbal becomes inoperable until both the issue is fixed and the device is restarted.

    Declaration

    Swift

    case overload
  • Communication error.

    Communication with the gimbal is broken due to some unknown software and/or hardware issue.

    Application should inform the user that the gimbal is currently inoperable. However, there is nothing the application should recommend the user to do at that point: either the issue will hopefully resolve itself (most likely a software issue), or it will escalate to critical level (probably hardware issue) and the application should recommend the user to send back the device for repair.

    The device will retry stabilization regularly; after several failed attempts, it will escalate the current error to .critical level, at which point the gimbal becomes inoperable until both the issue is fixed and the device is restarted.

    Declaration

    Swift

    case communication
  • Critical error.

    May occur at any time; in particular, occurs when any of the other errors persists after multiple retries from the device.

    Application should inform the user that the gimbal has become completely inoperable until the issue is fixed and the device is restarted, as well as suggest to verify that nothing currently hinders proper gimbal movement and that the gimbal is not damaged in any way.

    Declaration

    Swift

    case critical
  • Debug description.

    Declaration

    Swift

    public var description: String { get }
  • Set containing all axes.

    Declaration

    Swift

    public static let allCases: Set<GimbalError>