APM Planner 1.1.77

fix param xml namespace issue
prevent sending unchanged params
This commit is contained in:
Michael Oborne committed 2012-04-30 20:07:14 +08:00
1 parent 9223177355
commit fd40d40bc2
7 files changed
+10 -4

No files matched your search

+6
View File
@@ -490,6 +490,12 @@ namespace ArdupilotMega
return false;
}
if ((float)param[paramname] == value)
{
log.Debug("setParam "+paramname + " not modified");
return true;
}
MainV2.giveComport = true;
mavlink_param_set_t req = new mavlink_param_set_t();
Binary file not shown.
+1 -1
View File
@@ -46,7 +46,7 @@ namespace ArdupilotMega
if (System.Diagnostics.Debugger.IsAttached)
{
// testing
// Utilities.ParameterMetaDataParser.GetParameterInformation();
Utilities.ParameterMetaDataParser.GetParameterInformation();
}
try
@@ -34,5 +34,5 @@ using System.Resources;
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.*")]
[assembly: AssemblyFileVersion("1.1.76")]
[assembly: AssemblyFileVersion("1.1.77")]
[assembly: NeutralResourcesLanguageAttribute("")]
@@ -33,7 +33,7 @@ namespace ArdupilotMega.Utilities
{
// Use this to find the endpoint node we are looking for
// Either it will be pulled from a file in the ArduPlane hierarchy or the ArduCopter hierarchy
var element = _parameterMetaDataXML.Element(MainV2.cs.firmware.ToString());
var element = _parameterMetaDataXML.Element("Params").Element(MainV2.cs.firmware.ToString());
if(element != null && element.HasElements)
{
var node = element.Element(nodeKey);
@@ -1 +1 @@
1.1.4503.33640
1.1.4503.36159