Skip to content

Commit

Permalink
Mavlink: add PLANE_MODE_AUTOLAND #3471
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Jan 9, 2025
1 parent 215a22f commit a4eca31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ExtLibs/Mavlink/Mavlink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

public partial class MAVLink
{
public const string MAVLINK_BUILD_DATE = "Wed Dec 18 2024";
public const string MAVLINK_BUILD_DATE = "Thu Jan 09 2025";
public const string MAVLINK_WIRE_PROTOCOL_VERSION = "2.0";
public const int MAVLINK_MAX_PAYLOAD_LEN = 255;

Expand Down Expand Up @@ -2429,6 +2429,9 @@ public enum PLANE_MODE: int /*default*/
///<summary> LOITER2QLAND | </summary>
[Description("LOITER2QLAND")]
LOITER_ALT_QLAND=25,
///<summary> AUTOLAND | </summary>
[Description("AUTOLAND")]
AUTOLAND=26,

};

Expand Down
1 change: 1 addition & 0 deletions ExtLibs/Mavlink/mavlink.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions ExtLibs/Mavlink/message_definitions/ardupilotmega.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,9 @@
<entry value="25" name="PLANE_MODE_LOITER_ALT_QLAND">
<description>LOITER2QLAND</description>
</entry>
<entry value="26" name="PLANE_MODE_AUTOLAND">
<description>AUTOLAND</description>
</entry>
</enum>
<enum name="COPTER_MODE">
<description>A mapping of copter flight modes for custom_mode field of heartbeat.</description>
Expand Down

0 comments on commit a4eca31

Please sign in to comment.