2018-08-06 21:30:05 -03:00
|
|
|
uint64 timestamp # time since system start (microseconds)
|
2018-07-29 17:28:59 -03:00
|
|
|
uint32 icao_address # ICAO address
|
2016-04-17 12:56:39 -03:00
|
|
|
float64 lat # Latitude, expressed as degrees
|
|
|
|
float64 lon # Longitude, expressed as degrees
|
|
|
|
uint8 altitude_type # Type from ADSB_ALTITUDE_TYPE enum
|
|
|
|
float32 altitude # Altitude(ASL) in meters
|
2017-10-30 18:41:06 -03:00
|
|
|
float32 heading # Course over ground in radians, -pi to +pi, 0 is north
|
2016-04-17 12:56:39 -03:00
|
|
|
float32 hor_velocity # The horizontal velocity in m/s
|
|
|
|
float32 ver_velocity # The vertical velocity in m/s, positive is up
|
|
|
|
char[9] callsign # The callsign, 8+null
|
|
|
|
uint8 emitter_type # Type from ADSB_EMITTER_TYPE enum
|
|
|
|
uint8 tslc # Time since last communication in seconds
|
|
|
|
uint16 flags # Flags to indicate various statuses including valid data fields
|
|
|
|
uint16 squawk # Squawk code
|
2017-07-20 03:31:08 -03:00
|
|
|
|
2018-02-18 06:08:40 -04:00
|
|
|
# ADSB flags
|
|
|
|
uint16 PX4_ADSB_FLAGS_VALID_COORDS = 1
|
|
|
|
uint16 PX4_ADSB_FLAGS_VALID_ALTITUDE = 2
|
|
|
|
uint16 PX4_ADSB_FLAGS_VALID_HEADING = 4
|
|
|
|
uint16 PX4_ADSB_FLAGS_VALID_VELOCITY = 8
|
|
|
|
uint16 PX4_ADSB_FLAGS_VALID_CALLSIGN = 16
|
|
|
|
uint16 PX4_ADSB_FLAGS_VALID_SQUAWK = 32
|
|
|
|
uint16 PX4_ADSB_FLAGS_RETRANSLATE = 256
|
|
|
|
|
2017-07-23 13:28:02 -03:00
|
|
|
uint32 ORB_QUEUE_LENGTH = 10
|