87d2b017aa
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.
12 lines
316 B
Lua
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
|