Skip to content

Commit

Permalink
new message: ADS-B vehicle
Browse files Browse the repository at this point in the history
- contains all the info, plus some additional status flags, from an ADS-B transmission but in MAVLink format
  • Loading branch information
magicrub authored and tridge committed Nov 19, 2015
1 parent d668a16 commit 794b595
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions message_definitions/v1.0/common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@
<entry value="26" name="MAV_TYPE_GIMBAL">
<description>Onboard gimbal</description>
</entry>
<entry value="27" name="MAV_TYPE_ADSB">
<description>Onboard ADSB peripheral</description>
</entry>
</enum>
<enum name="FIRMWARE_VERSION_TYPE">
<description>These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.</description>
Expand Down Expand Up @@ -376,6 +379,9 @@
<entry value="154" name="MAV_COMP_ID_GIMBAL">
<description/>
</entry>
<entry value="155" name="MAV_COMP_ID_ADSB">
<description/>
</entry>
</enum>
<enum name="MAV_SYS_STATUS_SENSOR">
<description>These encode the sensors whose status is sent as part of the SYS_STATUS message.</description>
Expand Down Expand Up @@ -1750,6 +1756,47 @@
<description>MAV is in air</description>
</entry>
</enum>
<enum name="ADSB_ALTITUDE_TYPE">
<description>Enumeration of the ADSB altimeter types</description>
<entry value="0" name="ADSB_ALTITUDE_TYPE_PRESSURE_QNH">
<description>Altitude reported from a Baro source using QNH reference</description>
</entry>
<entry value="1" name="ADSB_ALTITUDE_TYPE_GEOMETRIC">
<description>Altitude reported from a GNSS source</description>
</entry>
</enum>
<enum name="ADSB_EMITTER_TYPE">
<description>ADSB classification for the type of vehicle emitting the transponder signal</description>
<entry value="0" name="ADSB_EMITTER_TYPE_NO_INFO"></entry>
<entry value="1" name="ADSB_EMITTER_TYPE_LIGHT"></entry>
<entry value="2" name="ADSB_EMITTER_TYPE_SMALL"></entry>
<entry value="3" name="ADSB_EMITTER_TYPE_LARGE"></entry>
<entry value="4" name="ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE"></entry>
<entry value="5" name="ADSB_EMITTER_TYPE_HEAVY"></entry>
<entry value="6" name="ADSB_EMITTER_TYPE_HIGHLY_MANUV"></entry>
<entry value="7" name="ADSB_EMITTER_TYPE_ROTOCRAFT"></entry>
<entry value="8" name="ADSB_EMITTER_TYPE_UNASSIGNED"></entry>
<entry value="9" name="ADSB_EMITTER_TYPE_GLIDER"></entry>
<entry value="10" name="ADSB_EMITTER_TYPE_LIGHTER_AIR"></entry>
<entry value="11" name="ADSB_EMITTER_TYPE_PARACHUTE"></entry>
<entry value="12" name="ADSB_EMITTER_TYPE_ULTRA_LIGHT"></entry>
<entry value="13" name="ADSB_EMITTER_TYPE_UNASSIGNED2"></entry>
<entry value="14" name="ADSB_EMITTER_TYPE_UAV"></entry>
<entry value="15" name="ADSB_EMITTER_TYPE_SPACE"></entry>
<entry value="16" name="ADSB_EMITTER_TYPE_UNASSGINED3"></entry>
<entry value="17" name="ADSB_EMITTER_TYPE_EMERGENCY_SURFACE"></entry>
<entry value="18" name="ADSB_EMITTER_TYPE_SERVICE_SURFACE"></entry>
<entry value="19" name="ADSB_EMITTER_TYPE_POINT_OBSTACLE"></entry>
</enum>
<enum name="ADSB_FLAGS">
<description>These flags indicate status such as data validity of each data source. Set = data valid</description>
<entry value="1" name="ADSB_FLAGS_VALID_COORDS"></entry>
<entry value="2" name="ADSB_FLAGS_VALID_ALTITUDE"></entry>
<entry value="4" name="ADSB_FLAGS_VALID_HEADING"></entry>
<entry value="8" name="ADSB_FLAGS_VALID_VELOCITY"></entry>
<entry value="16" name="ADSB_FLAGS_VALID_CALLSIGN"></entry>
<entry value="32" name="ADSB_FLAGS_SIMULATED"></entry>
</enum>
</enums>
<messages>
<message id="0" name="HEARTBEAT">
Expand Down Expand Up @@ -2993,6 +3040,21 @@
<field type="uint8_t" name="vtol_state" enum="MAV_VTOL_STATE">The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration.</field>
<field type="uint8_t" name="landed_state" enum="MAV_LANDED_STATE">The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.</field>
</message>
<message id="246" name="ADSB_VEHICLE">
<description>The location and information of an ADSB vehicle</description>
<field type="uint32_t" name="ICAO_address">ICAO address</field>
<field type="float" name="lat">The reported latitude in degrees</field>
<field type="float" name="lon">The reported longitude in degrees</field>
<field type="uint8_t" name="altitude_type">Type from ADSB_ALTITUDE_TYPE enum.</field>
<field type="float" name="altitude" enum="ADSB_ALTITUDE_TYPE">Altitude(ASL) in meters</field>
<field type="uint16_t" name="heading">Course over ground in degrees * 10^2</field>
<field type="float" name="hor_velocity">The horizontal velocity in meters/second</field>
<field type="float" name="ver_velocity">The vertical velocity in meters/second, positive is up</field>
<field type="char[9]" name="callsign">The callsign(squawk)</field>
<field type="uint8_t" name="emitter_type" enum="ADSB_EMITTER_TYPE">Type from ADSB_EMITTER_TYPE enum</field>
<field type="uint8_t" name="tslc">Time since last communication in seconds</field>
<field type="uint16_t" name="flags" enum="ADSB_FLAGS">Flags to indicate various statuses including valid data fields</field>
</message>
<message id="248" name="V2_EXTENSION">
<description>Message implementing parts of the V2 payload specs in V1 frames for transitional support.</description>
<field type="uint8_t" name="target_network">Network ID (0 for broadcast)</field>
Expand Down

0 comments on commit 794b595

Please sign in to comment.