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
icaoAddressICAO (International Civil Aviation Organization) unique worldwide identifier
latitudeDegLatitude in degrees (range: -90 to +90)
longitudeDegLongitude in degrees (range: -180 to +180).
absoluteAltitudeMAltitude AMSL (above mean sea level) in metres
headingDegCourse over ground, in degrees
horizontalVelocityMSThe horizontal velocity in metres/second
verticalVelocityMSThe vertical velocity in metres/second. Positive is up.
callsignThe callsign
emitterTypeADSB emitter type.
squawkSquawk code.
tslcSTime Since Last Communication in seconds.
-
Declaration
Swift
public static func == (lhs: AdsbVehicle, rhs: AdsbVehicle) -> Bool
View on GitHub
Install in Dash
AdsbVehicle Structure Reference