Ardupilot2/libraries/AP_Scripting/modules/MAVLink/mavlink_msg_SERIAL_CONTROL.lua
Thomas Watson 87d2b017aa AP_Scripting: add mavport module
Abstracts the MAVLink SERIAL_CONTROL message to be usable as a Lua port,
in particular the DEV_SHELL device supported by QGroundControl's MAVLink
Console.
2024-08-06 09:08:04 +10:00

12 lines
316 B
Lua

local SERIAL_CONTROL = {}
SERIAL_CONTROL.id = 126
SERIAL_CONTROL.fields = {
{ "baudrate", "<I4" },
{ "timeout", "<I2" },
{ "device", "<B" },
{ "flags", "<B" },
{ "count", "<B" },
{ "data", "<B", 70 },
}
return SERIAL_CONTROL