Add ADSB transponder report

This commit is contained in:
Lorenz Meier
2016-04-17 17:56:39 +02:00
parent 40546647b3
commit 1da25db617
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
uint64 timestamp # Timestamp of this position report
uint32 ICAO_address # ICAO address
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
float32 heading # Course over ground in radians
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

View File

@@ -291,3 +291,6 @@ ORB_DEFINE(follow_target, struct follow_target_s);
#include "topics/commander_state.h"
ORB_DEFINE(commander_state, struct commander_state_s);
#include "topics/transponder_report.h"
ORB_DEFINE(transponder_report, struct transponder_report_s);