PointAndFlyDirective

public class PointAndFlyDirective : Equatable, CustomStringConvertible

A point'n'fly directive.

  • Latitude of the target point location (in degrees).

    Declaration

    Swift

    public let latitude: Double
  • Longitude of the target point location (in degrees).

    Declaration

    Swift

    public let longitude: Double
  • Altitude above sea level of the target point (in meters).

    Declaration

    Swift

    public let altitude: Double
  • Gimbal control mode.

    Declaration

    Swift

    public let gimbalControlMode: PointAndFlyGimbalControlMode
  • Declaration

    Swift

    public static func == (lhs: PointAndFlyDirective, rhs: PointAndFlyDirective) -> Bool
  • Compares with another PointAndFlyDirective instance.

    Note

    Subclasses should override this function.

    Declaration

    Swift

    public func isEqual(other: PointAndFlyDirective?) -> Bool

    Parameters

    other

    PointAndFlyDirective instance to compare with

    Return Value

    true if the two instances are equal, false otherwise

  • Debug description.

    Declaration

    Swift

    public var description: String { get }