ardupilot/libraries/AP_Scripting/modules/MAVLink
2024-09-04 08:37:08 +09: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 AP_Scripting: add MAVLink command long and ack examples 2023-07-04 10:20:42 +10:00
Readme.md AP_Scripting: minor spelling fix 2024-09-04 08:37:08 +09:00

These .lua definition for messages can be generated using pymavlink with the following command: (change the last path accordingly 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