PointAndFlyHeading
public enum PointAndFlyHeading : Equatable, CustomStringConvertible
Heading of the drone during a FlyDirective
.
-
The drone keeps its current heading.
Declaration
Swift
case current
-
The drone rotates towards target before moving to said target.
Declaration
Swift
case toTargetBefore
-
The drone rotates to given heading before moving to target. The parameter is the heading relative to the North in degrees (clockwise).
Declaration
Swift
case customBefore(Double)
-
The drone rotates to given heading while moving to target. The parameter is the heading relative to the North in degrees (clockwise).
Declaration
Swift
case customDuring(Double)
-
Equatable.
Declaration
Swift
public static func == (lhs: PointAndFlyHeading, rhs: PointAndFlyHeading) -> Bool
-
Debug description.
Declaration
Swift
public var description: String { get }