Skip to content

Commit

Permalink
AP_Logger: Add metadata for VER and FILE messages
Browse files Browse the repository at this point in the history
  • Loading branch information
shancock884 authored and peterbarker committed Feb 25, 2024
1 parent 591d65e commit 2a67cbe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions libraries/AP_Logger/LogStructure.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2a67cbe

Please sign in to comment.