Ardupilot2/libraries/AP_Scripting/modules/MAVLink
2024-08-24 14:18:53 +01:00
..
mavlink_msg_COMMAND_ACK.lua
mavlink_msg_COMMAND_LONG.lua
mavlink_msg_SERIAL_CONTROL.lua AP_Scripting: add mavport module 2024-08-06 09:08:04 +10:00
mavlink_msgs.lua
Readme.md AP_Scripting: add note about generating code for extension fields 2024-08-24 14:18:53 +01:00

These .lua definition for messages can be generated using pymavlink with the following command: (change the last path acoordingly to place the files where you need them)

cd ardupilot/modules/mavlink
python ./pymavlink/tools/mavgen.py --lang Lua ./message_definitions/v1.0/all.xml --out ./modules/MAVLink

Add --wire-protocol 2.0 to include extension fields in the generated code