From 120cafcad2db310783f68aa77a672277d864b51a Mon Sep 17 00:00:00 2001 From: Henry Wurzburg Date: Mon, 30 Dec 2024 06:59:14 -0600 Subject: [PATCH] MAVLink:Add Plane AUTOLAND mode --- ExtLibs/Mavlink/Mavlink.cs | 4 +++- ExtLibs/Mavlink/mavlink.lua | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ExtLibs/Mavlink/Mavlink.cs b/ExtLibs/Mavlink/Mavlink.cs index 53788fc901..6f55eb13e9 100644 --- a/ExtLibs/Mavlink/Mavlink.cs +++ b/ExtLibs/Mavlink/Mavlink.cs @@ -2429,7 +2429,9 @@ public enum PLANE_MODE: int /*default*/ /// LOITER2QLAND | [Description("LOITER2QLAND")] LOITER_ALT_QLAND=25, - + /// AUTOLAND | + [Description("AUTOLAND")] + LOITER_ALT_QLAND=26, }; /// A mapping of copter flight modes for custom_mode field of heartbeat. diff --git a/ExtLibs/Mavlink/mavlink.lua b/ExtLibs/Mavlink/mavlink.lua index 5d8ffc3d1c..6e86a199be 100644 --- a/ExtLibs/Mavlink/mavlink.lua +++ b/ExtLibs/Mavlink/mavlink.lua @@ -901,6 +901,7 @@ local enumEntryName = { [23] = "PLANE_MODE_QACRO", [24] = "PLANE_MODE_THERMAL", [25] = "PLANE_MODE_LOITER_ALT_QLAND", + [26] = "PLANE_MODE_AUTOLAND", }, ["COPTER_MODE"] = { [0] = "COPTER_MODE_STABILIZE",