mirror of https://github.com/ArduPilot/ardupilot
APM Planner 1.1.77
fix param xml namespace issue prevent sending unchanged params
This commit is contained in:
parent
fda96ae3a6
commit
9d6fd77a23
|
@ -490,6 +490,12 @@ namespace ArdupilotMega
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((float)param[paramname] == value)
|
||||||
|
{
|
||||||
|
log.Debug("setParam "+paramname + " not modified");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
MainV2.giveComport = true;
|
MainV2.giveComport = true;
|
||||||
|
|
||||||
mavlink_param_set_t req = new mavlink_param_set_t();
|
mavlink_param_set_t req = new mavlink_param_set_t();
|
||||||
|
|
Binary file not shown.
|
@ -46,7 +46,7 @@ namespace ArdupilotMega
|
||||||
if (System.Diagnostics.Debugger.IsAttached)
|
if (System.Diagnostics.Debugger.IsAttached)
|
||||||
{
|
{
|
||||||
// testing
|
// testing
|
||||||
// Utilities.ParameterMetaDataParser.GetParameterInformation();
|
Utilities.ParameterMetaDataParser.GetParameterInformation();
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
|
@ -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.1.*")]
|
[assembly: AssemblyVersion("1.1.*")]
|
||||||
[assembly: AssemblyFileVersion("1.1.76")]
|
[assembly: AssemblyFileVersion("1.1.77")]
|
||||||
[assembly: NeutralResourcesLanguageAttribute("")]
|
[assembly: NeutralResourcesLanguageAttribute("")]
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace ArdupilotMega.Utilities
|
||||||
{
|
{
|
||||||
// Use this to find the endpoint node we are looking for
|
// 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
|
// 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)
|
if(element != null && element.HasElements)
|
||||||
{
|
{
|
||||||
var node = element.Element(nodeKey);
|
var node = element.Element(nodeKey);
|
||||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
||||||
1.1.4503.33640
|
1.1.4503.36159
|
Loading…
Reference in New Issue