diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs index a72e79be4a..8ace5c5fd5 100644 --- a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs +++ b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs @@ -488,6 +488,11 @@ namespace ArdupilotMega.GCSViews ((DomainUpDown)text[0]).SelectedIndex = index; ((DomainUpDown)text[0]).BackColor = Color.Green; } + else + { + ((DomainUpDown)text[0]).Text = option; + ((DomainUpDown)text[0]).BackColor = Color.Green; + } } } catch { } @@ -515,8 +520,11 @@ namespace ArdupilotMega.GCSViews int index = line.IndexOf(','); + int index2 = line.IndexOf(',', index + 1); if (index == -1) continue; + if (index2 != -1) + line = line.Replace(',','.'); string name = line.Substring(0, index); float value = float.Parse(line.Substring(index + 1), new System.Globalization.CultureInfo("en-US")); @@ -569,7 +577,7 @@ namespace ArdupilotMega.GCSViews MAVLink.modifyParamForDisplay(false, row.Cells[0].Value.ToString(), ref value); - sw.WriteLine(row.Cells[0].Value.ToString() + "," + value); + sw.WriteLine(row.Cells[0].Value.ToString() + "," + value.ToString(new System.Globalization.CultureInfo("en-US"))); } sw.Close(); } diff --git a/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs b/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs index 421048b251..61c3a2661e 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.87")] +[assembly: AssemblyFileVersion("1.0.88")] [assembly: NeutralResourcesLanguageAttribute("")] diff --git a/Tools/ArdupilotMegaPlanner/app.config b/Tools/ArdupilotMegaPlanner/app.config index ea54d4e7bc..6b78cb190d 100644 --- a/Tools/ArdupilotMegaPlanner/app.config +++ b/Tools/ArdupilotMegaPlanner/app.config @@ -2,12 +2,6 @@ - diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application index a4d78a16dc..7373ea86b1 100644 --- a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application +++ b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.application @@ -11,7 +11,7 @@ - S+dMQOC9TeJyQiYvhw37LpJxZU0= + wRpim3tDq7ttru3QnVS/G/tNt8A= diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.exe.config b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.exe.config index ea54d4e7bc..6b78cb190d 100644 --- a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.exe.config +++ b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.exe.config @@ -2,12 +2,6 @@ - diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml b/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml index 7969461052..430e3cc231 100644 --- a/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml +++ b/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml @@ -22,10 +22,15 @@ WP Dist - WP Verify - Target Bear - Long Err - Lat Err + Target Bear + Long Err + Lat Err + nav lon + nav lat + nav lon I + nav lat I + Loiter Lon I + Loiter Lat I Yaw Sensor diff --git a/Tools/ArdupilotMegaPlanner/dataflashlog.xml b/Tools/ArdupilotMegaPlanner/dataflashlog.xml index 7969461052..430e3cc231 100644 --- a/Tools/ArdupilotMegaPlanner/dataflashlog.xml +++ b/Tools/ArdupilotMegaPlanner/dataflashlog.xml @@ -22,10 +22,15 @@ WP Dist - WP Verify - Target Bear - Long Err - Lat Err + Target Bear + Long Err + Lat Err + nav lon + nav lat + nav lon I + nav lat I + Loiter Lon I + Loiter Lat I Yaw Sensor