CalibratableGimbal

public protocol CalibratableGimbal : Peripheral

This is the master class for gimbals

  • Set of current errors.

    When empty, the gimbal can be operated normally, otherwise, it is currently inoperable. In case the returned set contains the .critical error, then gimbal has become completely inoperable until both all other reported errors are fixed and the device is restarted.

    Declaration

    Swift

    var currentErrors: Set<GimbalError> { get }
  • Set of currently locked axes. While an axis is locked, you cannot set a speed or a position.

    An axis can be locked because the drone is controlling this axis on itself, thus it does not allow the controller to change its orientation. This might be the case during a FollowMe or when the PointOfInterestPilotingItf is active.

    Whether the gimbal is calibrated.

    Declaration

    Swift

    var calibrated: Bool { get }
  • Calibration process state. See startCalibration() and cancelCalibration()

    Declaration

    Swift

    var calibrationProcessState: GimbalCalibrationProcessState { get }
  • Starts calibration process. Does nothing when calibrationProcessState is calibrating.

    Declaration

    Swift

    func startCalibration()
  • Cancels the current calibration process. Does nothing when calibrationProcessState is not calibrating.

    Declaration

    Swift

    func cancelCalibration()