Open labtoast opened 11 months ago
pymavminimal.py
is a cut-down version of what ./pymavlink/tools/mavgen.py --lang=Python --wire-protocol=2.0 --output=common20.py message_definitions/v1.0/common.xml
creates.
You'll need to generate that file, then copy-paste the battery_status
message across to pymavminimal.py
What xml files and mavgen command was used to generate the pymavminimal file? I wanted to add the battery_status message so that I could generate messages from a LiPo battery module.
Thanks for sharing your code! I was able to get the named_value_float messages across successfully.