Small helper that expands MAVLink XML dialects into JSON.
- Requires Python 3.11+
- Usage:
python3 xml2json.py path/to/dialect.xml > dialect.json
.github/workflows/sync-mavlink.ymlruns every Monday (and on manual dispatch).- It clones
mavlink/mavlink, converts everymessage_definitions/v1.0/*.xmlto JSON withxml2json.py, writes them tomessage_definitions/v1.0/, and auto-commits the results.