diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/FlightPlanner.cs b/Tools/ArdupilotMegaPlanner/GCSViews/FlightPlanner.cs index 4b4e329bb3..a28fc82e2e 100644 --- a/Tools/ArdupilotMegaPlanner/GCSViews/FlightPlanner.cs +++ b/Tools/ArdupilotMegaPlanner/GCSViews/FlightPlanner.cs @@ -1032,11 +1032,11 @@ namespace ArdupilotMega.GCSViews sw.WriteLine("QGC WPL 110"); try { - sw.WriteLine("0\t1\t3\t0\t0\t0\t0\t0\t" + double.Parse(TXT_homelat.Text).ToString("0.000000", new System.Globalization.CultureInfo("en-US")) + "\t" + double.Parse(TXT_homelng.Text).ToString("0.000000", new System.Globalization.CultureInfo("en-US")) + "\t" + double.Parse(TXT_homealt.Text).ToString("0.000000", new System.Globalization.CultureInfo("en-US")) + "\t1"); + sw.WriteLine("0\t1\t0\t16\t0\t0\t0\t0\t" + double.Parse(TXT_homelat.Text).ToString("0.000000", new System.Globalization.CultureInfo("en-US")) + "\t" + double.Parse(TXT_homelng.Text).ToString("0.000000", new System.Globalization.CultureInfo("en-US")) + "\t" + double.Parse(TXT_homealt.Text).ToString("0.000000", new System.Globalization.CultureInfo("en-US")) + "\t1"); } catch { - sw.WriteLine("0\t1\t3\t0\t0\t0\t0\t0\t0\t0\t0\t1"); + sw.WriteLine("0\t1\t0\t0\t0\t0\t0\t0\t0\t0\t0\t1"); } for (int a = 0; a < Commands.Rows.Count - 0; a++) { @@ -1669,7 +1669,7 @@ namespace ArdupilotMega.GCSViews temp.options = 0; } temp.id = (byte)(int)Enum.Parse(typeof(MAVLink.MAV_CMD), items[3], false); - temp.p1 = (byte)float.Parse(items[4]); + temp.p1 = (byte)float.Parse(items[4], new System.Globalization.CultureInfo("en-US")); if (temp.id == 99) temp.id = 0; diff --git a/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs b/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs index 298fc58270..d4417a6f81 100644 --- a/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs +++ b/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs @@ -34,5 +34,5 @@ using System.Resources; // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.92")] +[assembly: AssemblyFileVersion("1.0.93")] [assembly: NeutralResourcesLanguageAttribute("")] diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application index 0ac9171517..eb19b32df7 100644 --- a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application +++ b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application @@ -11,7 +11,7 @@ - tWULF9sdqZl3KU4VfKfZtd5uMkY= + aOdOGvvGucYFaUhittfTQbVF+gA=