GSSpeedometer
@objc
public protocol GSSpeedometer : Instrument
Instrument that informs about speeds.
This instrument can be retrieved by:
drone.getInstrument(Instruments.speedometer)
Note
This protocol is for Objective-C only. Swift must use the protocolSpeedometer
.
-
Gets the overall speed on the horizontal plan relative to the ground, in meters/second.
Note
this method is for Objective-C only. Swift must use the propertygroundSpeed
.Declaration
Swift
func getGroundSpeed() -> Double
Return Value
the speed on the horizontal plan relative to the ground