Axis

@objc(GSMagnetometerAxis)
public enum Axis : Int, CustomStringConvertible

Drone axis used during the magnetometer calibration process.

  • No axis.

    Declaration

    Swift

    case none
  • Roll axis. Roll axis is the longitudinal axis (axis traversing the drone from tail to head)

    Declaration

    Swift

    case roll
  • Pitch axis. Pitch axis is the lateral axis (axis traversing the drone from right to left)

    Declaration

    Swift

    case pitch
  • yaw

    Yaw axis. Yaw axis is the vertical axis going through the center of the drone.

    Declaration

    Swift

    case yaw
  • Debug description.

    Declaration

    Swift

    public var description: String { get }