Commit Graph

12 Commits

Author SHA1 Message Date
Simon Hancock c0a503d74d autotest: Provide format and unit/multiplier info for log messages
Definitions of each character are extracted from LogStructure.h
Data is extracted by parsing the logging definition struct
Also parse WriteMessage() calls for messages not defined in struct
Add support to separate log descriptions for messages with same field list
Compute derived unit from combination of format, unit and multiplier
For XML output the format and derived unit into new attributes
Add enumerations to the XML output (bitmasks were already done)
For MD,RST,HTML, output either derived unit, 'char[n]', 'bitmask' or 'enum'
Fix support for Blimp by adding it to the parse_enum.py lookup table
2024-01-16 11:24:34 +11:00
Pierre Kancir 31ee88adbb Tools: use isinstance for type comparison 2023-09-02 13:27:25 +10:00
ES-Alexander e7b369473b Tools: logger_metadata: add emit_md 2023-05-19 18:44:02 +10:00
Iampete1 82bcaae9ad Tools: autotest: logger_metadara: parse `@FieldBits` to new bitmask format and ouput bitmask in xml 2023-02-06 23:44:21 +00:00
Peter Barker 3708ed7a45 Tools: add script to extract enumeration as metadata 2023-01-25 19:50:34 +11:00
Michelle Rossouw b58ecff90e Tools: Add blimp log message documentation to be built 2022-01-07 22:54:13 +11:00
Peter Barker 6af0f460af autotest: add duplicate-logmessage-field sanity check 2021-04-27 16:38:40 +10:00
Pierre Kancir 420587fb68 Tools: logger_metadata fix relative dir search 2020-08-25 20:01:27 +10:00
Peter Barker 2088446ebf Tools: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Peter Barker 4bab3c083e autotest: sort messages in logger documentation output files 2020-04-02 10:57:40 +11:00
Peter Barker e671a0912e autotest: logger_metadata: understand , in @LoggerMessage
This means multiple messages use exactly the same meaning in the fields

Also retain ordering of fields
2020-03-21 09:34:43 +11:00
Peter Barker 60ff6c0b24 autotest: add parser for the logger metadata 2020-03-20 13:05:46 +11:00