OrientationDirective

public enum OrientationDirective : Equatable, CustomStringConvertible

Orientation that takes the drone during a LocationDirective.

  • Orientation for which the drone won’t change its heading.

    Declaration

    Swift

    case none
  • Orientation for which the drone will make a rotation to look in direction of the given location before moving to the location.

    Declaration

    Swift

    case toTarget
  • Orientation for which the drone will orientate itself to the given heading before moving to the location. The parameter is the heading relative to the North in degrees (clockwise).

    Declaration

    Swift

    case headingStart(Double)
  • Orientation for which the drone will orientate itself to the given heading while moving to the location. The parameter is the heading relative to the North in degrees (clockwise).

    Declaration

    Swift

    case headingDuring(Double)
  • Equatable.

    Declaration

    Swift

    public static func == (lhs: OrientationDirective, rhs: OrientationDirective) -> Bool
  • Debug description.

    Declaration

    Swift

    public var description: String { get }