2024-07-20 16:41:48 -03:00
|
|
|
These .lua definition for messages can be generated using pymavlink with the following command:
|
2024-07-26 04:16:49 -03:00
|
|
|
(change the last path accordingly to place the files where you need them)
|
2024-07-20 16:41:48 -03:00
|
|
|
```
|
|
|
|
cd ardupilot/modules/mavlink
|
|
|
|
python ./pymavlink/tools/mavgen.py --lang Lua ./message_definitions/v1.0/all.xml --out ./modules/MAVLink
|
2024-08-23 15:49:12 -03:00
|
|
|
```
|
|
|
|
|
|
|
|
Add `--wire-protocol 2.0` to include extension fields in the generated code
|