Commit Graph

17 Commits

Author SHA1 Message Date
Pierre Kancir 31ee88adbb Tools: use isinstance for type comparison 2023-09-02 13:27:25 +10:00
Andy Piper fb5a92ee53 autotest: parse enums of the form FOO = BAR(x) 2023-08-15 06:53:48 +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 fa64415446 autotest: correct generator of rst in logger metadata 2023-01-26 15:41:32 +11:00
Peter Barker 3708ed7a45 Tools: add script to extract enumeration as metadata 2023-01-25 19:50:34 +11:00
Pierre Kancir 4b67ed808f Tools: logger_metadata: remove useless shebang 2022-06-08 08:16:42 +09:00
Iampete1 00eca20cf4 Tools: logger metadata: emit rst discription on new line 2022-01-12 18:17:58 +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
Peter Barker 18ded114ae Tools: param_metadata; stop prettifying XML before emitting
indent is not available on our documentation server:

[build_parameters.py]
Traceback (most recent call last):
  File "./param_parse.py", line 422, in <module>
    do_emit(XmlEmit())
  File "./param_parse.py", line 415, in do_emit
    emit.close()
  File "/home/wiki/build_wiki/ardupilot/Tools/autotest/param_metadata/xmlemit.py
", line 24, in close
    etree.indent(self.paramfile)
AttributeError: module 'lxml.etree' has no attribute 'indent'
2021-04-02 14:39:39 +11:00
Pierre Kancir 69fab70582 Tools: use lxml for xml generation
fix caracters
fix indentation
validate xml
2020-12-30 18:19:43 +11: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