Skip to content

Commit

Permalink
mavlink: added NAV_SCIPT_TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and meee1 committed Nov 16, 2021
1 parent eb764d0 commit 7fa8114
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ExtLibs/Mavlink/Mavlink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,9 @@ public enum MAV_CMD: ushort
LOITER_TO_ALT=31,
///<summary> Begin following a target |System ID (of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode.| Reserved| Reserved| Altitude mode: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home.| Altitude above home. (used if mode=2)| Reserved| Time to land in which the MAV should go to the default position hold mode after a message RX timeout.| </summary>
[Description("Begin following a target")]
SCRIPT_TIME=42702,
///<summary> Scripted navigation command. |commandId| Timeout(s)| Arg1| Arg2| Empty| Empty| Empty| </summary>
[Description("Scipted command (navigation command controlled by a lua script.")]
DO_FOLLOW=32,
///<summary> Reposition the MAV after a follow target command has been sent |Camera q1 (where 0 is on the ray from the camera to the tracking device)| Camera q2| Camera q3| Camera q4| altitude offset from target| X offset from target| Y offset from target| </summary>
[Description("Reposition the MAV after a follow target command has been sent")]
Expand Down
9 changes: 9 additions & 0 deletions ExtLibs/Xamarin/Xamarin/Resources/mavcmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,15 @@
<Y>Long</Y>
<Z>Alt</Z>
</VTOL_LAND>
<SCRIPT_TIME>
<P1>commandId</P1>
<P2>timeout</P2>
<P3>arg1</P3>
<P4>arg2</P4>
<X></X>
<Y></Y>
<Z></Z>
</SCRIPT_TIME>
<DO_VTOL_TRANSITION>
<P1>mode (3=mc/4=plane)</P1>
<P2></P2>
Expand Down
9 changes: 9 additions & 0 deletions mavcmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,15 @@
<Y>Long</Y>
<Z>Alt</Z>
</VTOL_LAND>
<SCRIPT_TIME>
<P1>commandId</P1>
<P2>timeout</P2>
<P3>arg1</P3>
<P4>arg2</P4>
<X></X>
<Y></Y>
<Z></Z>
</SCRIPT_TIME>
<DO_VTOL_TRANSITION>
<P1>mode (3=mc/4=plane)</P1>
<P2></P2>
Expand Down

0 comments on commit 7fa8114

Please sign in to comment.