Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Controls/FollowMe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ void mainloop()
gotohere.alt = (float)(gotolocation.Alt);
gotohere.lat = (gotolocation.Lat);
gotohere.lng = (gotolocation.Lng);
gotohere.frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT;

try
{
Expand Down
1 change: 1 addition & 0 deletions ExtLibs/ExtGuided/ExtGuidedPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public override bool Loop()
alt = float.Parse(loc[2]),
lat = double.Parse(loc[0]),
lng = double.Parse(loc[1]),
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT,
}
);

Expand Down
6 changes: 4 additions & 2 deletions ExtLibs/Xamarin/Xamarin/Linked/httpserver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,8 @@ public void ProcessClient(object clientobj)
{
lat = double.Parse(match.Groups[1].Value),
lng = double.Parse(match.Groups[2].Value),
alt = float.Parse(match.Groups[3].Value)
alt = float.Parse(match.Groups[3].Value),
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT
};
try
{
Expand Down Expand Up @@ -820,7 +821,8 @@ public void ProcessClient(object clientobj)
{
lat = double.Parse(match.Groups[1].Value),
lng = double.Parse(match.Groups[2].Value),
alt = float.Parse(match.Groups[3].Value)
alt = float.Parse(match.Groups[3].Value),
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT
};
try
{
Expand Down
3 changes: 2 additions & 1 deletion Plugins/example14-mass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ public override bool Loaded()
{
alt = 50,
lat = Host.FDMenuMapPosition.Lat / 1e7,
lng = Host.FDMenuMapPosition.Lng / 1e7
lng = Host.FDMenuMapPosition.Lng / 1e7,
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT
});
}
catch { }
Expand Down
3 changes: 2 additions & 1 deletion Swarm/FollowPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public override void SendCommand()
alt = (float)target.Alt,
lat = target.Lat,
lng = target.Lng,
id = (ushort)MAVLink.MAV_CMD.WAYPOINT
id = (ushort)MAVLink.MAV_CMD.WAYPOINT,
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT
});
}
}
Expand Down
6 changes: 4 additions & 2 deletions Utilities/httpserver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,8 @@ public void ProcessClient(object clientobj)
{
lat = double.Parse(match.Groups[1].Value),
lng = double.Parse(match.Groups[2].Value),
alt = float.Parse(match.Groups[3].Value)
alt = float.Parse(match.Groups[3].Value),
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT
};
try
{
Expand Down Expand Up @@ -958,7 +959,8 @@ public void ProcessClient(object clientobj)
{
lat = double.Parse(match.Groups[1].Value),
lng = double.Parse(match.Groups[2].Value),
alt = float.Parse(match.Groups[3].Value)
alt = float.Parse(match.Groups[3].Value),
frame = (byte)MAVLink.MAV_FRAME.GLOBAL_RELATIVE_ALT
};
try
{
Expand Down
Loading