mirror of https://github.com/ArduPilot/ardupilot
APM Planner - 1.0.88
fix param loading comma vs period issue update ac dataflash log format
This commit is contained in:
parent
01df18b292
commit
1cdad13474
|
@ -488,6 +488,11 @@ namespace ArdupilotMega.GCSViews
|
||||||
((DomainUpDown)text[0]).SelectedIndex = index;
|
((DomainUpDown)text[0]).SelectedIndex = index;
|
||||||
((DomainUpDown)text[0]).BackColor = Color.Green;
|
((DomainUpDown)text[0]).BackColor = Color.Green;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
((DomainUpDown)text[0]).Text = option;
|
||||||
|
((DomainUpDown)text[0]).BackColor = Color.Green;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
@ -515,8 +520,11 @@ namespace ArdupilotMega.GCSViews
|
||||||
|
|
||||||
int index = line.IndexOf(',');
|
int index = line.IndexOf(',');
|
||||||
|
|
||||||
|
int index2 = line.IndexOf(',', index + 1);
|
||||||
if (index == -1)
|
if (index == -1)
|
||||||
continue;
|
continue;
|
||||||
|
if (index2 != -1)
|
||||||
|
line = line.Replace(',','.');
|
||||||
|
|
||||||
string name = line.Substring(0, index);
|
string name = line.Substring(0, index);
|
||||||
float value = float.Parse(line.Substring(index + 1), new System.Globalization.CultureInfo("en-US"));
|
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);
|
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();
|
sw.Close();
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,5 +34,5 @@ using System.Resources;
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.0.87")]
|
[assembly: AssemblyFileVersion("1.0.88")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute("")]
|
[assembly: NeutralResourcesLanguageAttribute("")]
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
</configSections>
|
</configSections>
|
||||||
<!--
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
|
||||||
<supportedRuntime version="v4.0"/>
|
|
||||||
</startup>
|
|
||||||
-->
|
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v2.0.50727"/>
|
<supportedRuntime version="v2.0.50727"/>
|
||||||
</startup>
|
</startup>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
|
||||||
</dsig:Transforms>
|
</dsig:Transforms>
|
||||||
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
|
||||||
<dsig:DigestValue>S+dMQOC9TeJyQiYvhw37LpJxZU0=</dsig:DigestValue>
|
<dsig:DigestValue>wRpim3tDq7ttru3QnVS/G/tNt8A=</dsig:DigestValue>
|
||||||
</hash>
|
</hash>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
</configSections>
|
</configSections>
|
||||||
<!--
|
|
||||||
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
|
||||||
<supportedRuntime version="v4.0"/>
|
|
||||||
</startup>
|
|
||||||
-->
|
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v2.0.50727"/>
|
<supportedRuntime version="v2.0.50727"/>
|
||||||
</startup>
|
</startup>
|
||||||
|
|
|
@ -22,10 +22,15 @@
|
||||||
</ATT>
|
</ATT>
|
||||||
<NTUN>
|
<NTUN>
|
||||||
<F1>WP Dist</F1>
|
<F1>WP Dist</F1>
|
||||||
<F2>WP Verify</F2>
|
<F2>Target Bear</F2>
|
||||||
<F3>Target Bear</F3>
|
<F3>Long Err</F3>
|
||||||
<F4>Long Err</F4>
|
<F4>Lat Err</F4>
|
||||||
<F5>Lat Err</F5>
|
<F5>nav lon</F5>
|
||||||
|
<F6>nav lat</F6>
|
||||||
|
<F7>nav lon I</F7>
|
||||||
|
<F8>nav lat I</F8>
|
||||||
|
<F9>Loiter Lon I</F9>
|
||||||
|
<F10>Loiter Lat I</F10>
|
||||||
</NTUN>
|
</NTUN>
|
||||||
<CTUN>
|
<CTUN>
|
||||||
<F1>Yaw Sensor</F1>
|
<F1>Yaw Sensor</F1>
|
||||||
|
|
|
@ -22,10 +22,15 @@
|
||||||
</ATT>
|
</ATT>
|
||||||
<NTUN>
|
<NTUN>
|
||||||
<F1>WP Dist</F1>
|
<F1>WP Dist</F1>
|
||||||
<F2>WP Verify</F2>
|
<F2>Target Bear</F2>
|
||||||
<F3>Target Bear</F3>
|
<F3>Long Err</F3>
|
||||||
<F4>Long Err</F4>
|
<F4>Lat Err</F4>
|
||||||
<F5>Lat Err</F5>
|
<F5>nav lon</F5>
|
||||||
|
<F6>nav lat</F6>
|
||||||
|
<F7>nav lon I</F7>
|
||||||
|
<F8>nav lat I</F8>
|
||||||
|
<F9>Loiter Lon I</F9>
|
||||||
|
<F10>Loiter Lat I</F10>
|
||||||
</NTUN>
|
</NTUN>
|
||||||
<CTUN>
|
<CTUN>
|
||||||
<F1>Yaw Sensor</F1>
|
<F1>Yaw Sensor</F1>
|
||||||
|
|
Loading…
Reference in New Issue