mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
Add ADSB transponder report
This commit is contained in:
14
msg/transponder_report.msg
Normal file
14
msg/transponder_report.msg
Normal 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
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user