FlightMeter

@objc(GSFlightMeter)
public protocol FlightMeter : Instrument

Instrument that gives the total flight duration of the drone, the last flight duration, as well as the total number of flights.

This instrument can be retrieved by:

drone.getInstrument(Instruments.flightMeter)
  • Total flight duration, in seconds.

    Declaration

    Swift

    var totalFlightDuration: Int { get }
  • Last flight duration, in seconds.

    Declaration

    Swift

    var lastFlightDuration: Int { get }
  • Total flights performed by the drone.

    Declaration

    Swift

    var totalFlights: Int { get }