Gps

@objc(GSGps)
public protocol Gps : Instrument

Instrument that informs about GPS position.

This instrument can be retrieved by:

drone.getInstrument(Instruments.gps)
  • Fix status, true if GPS of the drone has fixed.

    Declaration

    Swift

    var fixed: Bool { get }
  • Last known GPS location if available, nil otherwise.

    Declaration

    Swift

    var lastKnownLocation: CLLocation? { get }
  • Number of satellites used to compute the location, 0 if not known.

    Declaration

    Swift

    var satelliteCount: Int { get }