Compass
@objc(GSCompass)
public protocol Compass : Instrument
Instrument that informs about heading.
This instrument can be retrieved by:
drone.getInstrument(Instruments.compass)
-
Heading of the drone (in degrees), in range [0, 360[, relative to the GPS North.
Declaration
Swift
var heading: Double { get }