From 2a67cbe6814bfda78cd5127e2e8e5e8dfdc56ec3 Mon Sep 17 00:00:00 2001 From: Simon Hancock Date: Fri, 23 Feb 2024 22:58:53 +0000 Subject: [PATCH] AP_Logger: Add metadata for VER and FILE messages --- libraries/AP_Logger/LogStructure.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/libraries/AP_Logger/LogStructure.h b/libraries/AP_Logger/LogStructure.h index 8845c9ba00..54dd754e62 100644 --- a/libraries/AP_Logger/LogStructure.h +++ b/libraries/AP_Logger/LogStructure.h @@ -1195,6 +1195,13 @@ struct PACKED log_VER { // @Field: Free: free stack // @Field: Name: thread name +// @LoggerMessage: FILE +// @Description: File data +// @Field: FileName: File name +// @Field: Offset: Offset into the file of this block +// @Field: Length: Length of this data block +// @Field: Data: File data of this block + // @LoggerMessage: SCR // @Description: Scripting runtime stats // @Field: TimeUS: Time since system startup @@ -1203,6 +1210,20 @@ struct PACKED log_VER { // @Field: Total_mem: total memory usage of all scripts // @Field: Run_mem: run memory usage +// @LoggerMessage: VER +// @Description: Ardupilot version +// @Field: TimeUS: Time since system startup +// @Field: BT: Board type +// @Field: BST: Board subtype +// @Field: Maj: Major version number +// @Field: Min: Minor version number +// @Field: Pat: Patch number +// @Field: FWT: Firmware type +// @Field: GH: Github commit +// @Field: FWS: Firmware version string +// @Field: APJ: Board ID +// @Field: BU: Build vehicle type + // @LoggerMessage: MOTB // @Description: Motor mixer information // @Field: TimeUS: Time since system startup