Speedometer

public protocol Speedometer : Instrument

Instrument that informs about speeds.

This instrument can be retrieved by:

drone.getInstrument(Instruments.speedometer)
  • Overall speed on the horizontal plan relative to the ground, in meters/second.

    Declaration

    Swift

    var groundSpeed: Double { get }
  • Drone current speed along the north axis, relative to the ground, in meters/second.

    A negative value means that the drone moves to the South.

    Declaration

    Swift

    var northSpeed: Double { get }
  • Drone current speed along the east axis, relative to the ground, in meters/second.

    A negative value means that the drone moves to the West.

    Declaration

    Swift

    var eastSpeed: Double { get }
  • Drone current speed along the down axis, relative to the ground, in meters/second.

    A negative value means that the drone moves upward.

    Declaration

    Swift

    var downSpeed: Double { get }
  • Drone current speed along its front axis on the horizontal plane, relative to the ground, in meters/second.

    A negative value means that the drone moves backward.

    Declaration

    Swift

    var forwardSpeed: Double { get }
  • Drone current speed along its right axis on the horizontal plane, relative to the ground, in meters/second.

    A negative value means that the drone moves to the left.

    Declaration

    Swift

    var rightSpeed: Double { get }