-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
83 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,30 @@ | ||
# Vehicle Info msg | ||
uint8 sysid #SYSTEM ID | ||
uint8 compid #COMPONENT ID | ||
uint8 autopilot #MAV_AUTOPILOT | ||
uint8 type #MAV_TYPE | ||
uint8 system_status #MAV_STATE | ||
|
||
Header header | ||
|
||
uint8 HAVE_INFO_HEARTBEAT = 1 | ||
uint8 HAVE_INFO_AUTOPILOT_VERSION = 2 | ||
uint8 available_info # Bitmap shows what info is available | ||
|
||
# Vehicle address | ||
uint8 sysid # SYSTEM ID | ||
uint8 compid # COMPONENT ID | ||
|
||
# -*- Heartbeat info -*- | ||
uint8 autopilot # MAV_AUTOPILOT | ||
uint8 type # MAV_TYPE | ||
uint8 system_status # MAV_STATE | ||
uint8 base_mode | ||
uint32 custom_mode | ||
string mode #MAV_MODE string | ||
uint32 mode_id #MAV_MODE number | ||
uint64 capabilities #MAV_PROTOCOL_CAPABILITY | ||
uint32 flight_sw_version #Firmware version number | ||
uint32 middleware_sw_version #Middleware version number | ||
uint32 os_sw_version #Operating system version number | ||
uint32 board_version #HW / board version (last 8 bytes should be silicon ID, if any) | ||
uint16 vendor_id #ID of the board vendor | ||
uint16 product_id #ID of the product | ||
uint64 uid #UID if provided by hardware | ||
string mode # MAV_MODE string | ||
uint32 mode_id # MAV_MODE number | ||
|
||
# -*- Autopilot version -*- | ||
uint64 capabilities # MAV_PROTOCOL_CAPABILITY | ||
uint32 flight_sw_version # Firmware version number | ||
uint32 middleware_sw_version # Middleware version number | ||
uint32 os_sw_version # Operating system version number | ||
uint32 board_version # HW / board version (last 8 bytes should be silicon ID, if any) | ||
uint16 vendor_id # ID of the board vendor | ||
uint16 product_id # ID of the product | ||
uint64 uid # UID if provided by hardware |