AdsbVehicle
public struct AdsbVehicle : Equatable
ADSB Vehicle type.
-
Undocumented
Declaration
Swift
public let icaoAddress: UInt32
-
Undocumented
Declaration
Swift
public let latitudeDeg: Double
-
Undocumented
Declaration
Swift
public let longitudeDeg: Double
-
Undocumented
Declaration
Swift
public let absoluteAltitudeM: Float
-
Undocumented
Declaration
Swift
public let headingDeg: Float
-
Undocumented
Declaration
Swift
public let horizontalVelocityMS: Float
-
Undocumented
Declaration
Swift
public let verticalVelocityMS: Float
-
Undocumented
Declaration
Swift
public let callsign: String
-
Undocumented
Declaration
Swift
public let emitterType: AdsbEmitterType
-
Undocumented
Declaration
Swift
public let squawk: UInt32
-
Undocumented
Declaration
Swift
public let tslcS: UInt32
-
init(icaoAddress:
latitudeDeg: longitudeDeg: absoluteAltitudeM: headingDeg: horizontalVelocityMS: verticalVelocityMS: callsign: emitterType: squawk: tslcS: ) Initializes a new
AdsbVehicle
.Declaration
Swift
public init(icaoAddress: UInt32, latitudeDeg: Double, longitudeDeg: Double, absoluteAltitudeM: Float, headingDeg: Float, horizontalVelocityMS: Float, verticalVelocityMS: Float, callsign: String, emitterType: AdsbEmitterType, squawk: UInt32, tslcS: UInt32)
Parameters
icaoAddress
ICAO (International Civil Aviation Organization) unique worldwide identifier
latitudeDeg
Latitude in degrees (range: -90 to +90)
longitudeDeg
Longitude in degrees (range: -180 to +180).
absoluteAltitudeM
Altitude AMSL (above mean sea level) in metres
headingDeg
Course over ground, in degrees
horizontalVelocityMS
The horizontal velocity in metres/second
verticalVelocityMS
The vertical velocity in metres/second. Positive is up.
callsign
The callsign
emitterType
ADSB emitter type.
squawk
Squawk code.
tslcS
Time Since Last Communication in seconds.
-
Declaration
Swift
public static func == (lhs: AdsbVehicle, rhs: AdsbVehicle) -> Bool