diff --git a/Tools/ArdupilotMegaPlanner/ArduinoDetect.cs b/Tools/ArdupilotMegaPlanner/ArduinoDetect.cs
index 15805cf2b2..ffa350cb5d 100644
--- a/Tools/ArdupilotMegaPlanner/ArduinoDetect.cs
+++ b/Tools/ArdupilotMegaPlanner/ArduinoDetect.cs
@@ -4,6 +4,7 @@ using System.Management;
using System.Windows.Forms;
using System.Threading;
using log4net;
+using System.Globalization;
namespace ArdupilotMega
{
diff --git a/Tools/ArdupilotMegaPlanner/ArdupilotMega.sln b/Tools/ArdupilotMegaPlanner/ArdupilotMega.sln
index 54de868e9e..6fe51a332b 100644
--- a/Tools/ArdupilotMegaPlanner/ArdupilotMega.sln
+++ b/Tools/ArdupilotMegaPlanner/ArdupilotMega.sln
@@ -2,9 +2,6 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C# Express 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ArdupilotMega", "ArdupilotMega.csproj", "{A2E22272-95FE-47B6-B050-9AE7E2055BF5}"
- ProjectSection(ProjectDependencies) = postProject
- {76374F95-C343-4ACC-B86F-7ECFDD668F46} = {76374F95-C343-4ACC-B86F-7ECFDD668F46}
- EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Updater", "Updater\Updater.csproj", "{E64A1A41-A5B0-458E-8284-BB63705354DA}"
EndProject
diff --git a/Tools/ArdupilotMegaPlanner/CodeGen.cs b/Tools/ArdupilotMegaPlanner/CodeGen.cs
index cdde571ed0..28eceb9365 100644
--- a/Tools/ArdupilotMegaPlanner/CodeGen.cs
+++ b/Tools/ArdupilotMegaPlanner/CodeGen.cs
@@ -49,7 +49,7 @@ namespace ArdupilotMega
return answer;
}
- static CodeDomProvider CreateCompiler()
+ public static CodeDomProvider CreateCompiler()
{
//Create an instance of the C# compiler
CodeDomProvider codeProvider = CodeDomProvider.CreateProvider("CSharp");
@@ -61,7 +61,7 @@ namespace ArdupilotMega
/// Creawte parameters for compiling
///
///
- static CompilerParameters CreateCompilerParameters()
+ public static CompilerParameters CreateCompilerParameters()
{
//add compiler parameters and assembly references
CompilerParameters compilerParams = new CompilerParameters();
@@ -71,7 +71,9 @@ namespace ArdupilotMega
compilerParams.IncludeDebugInformation = false;
compilerParams.ReferencedAssemblies.Add("mscorlib.dll");
compilerParams.ReferencedAssemblies.Add("System.dll");
- compilerParams.ReferencedAssemblies.Add("System.Windows.Forms.dll");
+ compilerParams.ReferencedAssemblies.Add(Application.ExecutablePath);
+
+ compilerParams.ReferencedAssemblies.Add("");
//add any aditional references needed
// foreach (string refAssembly in code.References)
@@ -87,7 +89,7 @@ namespace ArdupilotMega
///
///
///
- static private CompilerResults CompileCode(CodeDomProvider compiler, CompilerParameters parms, string source)
+ public static CompilerResults CompileCode(CodeDomProvider compiler, CompilerParameters parms, string source)
{
//actually compile the code
CompilerResults results = compiler.CompileAssemblyFromSource(
@@ -109,7 +111,7 @@ namespace ArdupilotMega
///
/// evaluation expression
///
- static string RefineEvaluationString(string eval)
+ public static string RefineEvaluationString(string eval)
{
// look for regular expressions with only letters
Regex regularExpression = new Regex("[a-zA-Z_]+");
@@ -140,7 +142,7 @@ namespace ArdupilotMega
/// Compiles the c# into an assembly if there are no syntax errors
///
///
- static private CompilerResults CompileAssembly()
+ public static CompilerResults CompileAssembly()
{
// create a compiler
CodeDomProvider compiler = CreateCompiler();
@@ -155,7 +157,7 @@ namespace ArdupilotMega
static ArrayList _mathMembers = new ArrayList();
static Hashtable _mathMembersMap = new Hashtable();
- static void GetMathMemberNames()
+ public static void GetMathMemberNames()
{
// get a reflected assembly of the System assembly
Assembly systemAssembly = Assembly.GetAssembly(typeof(System.Math));
@@ -200,7 +202,7 @@ namespace ArdupilotMega
/// Runs the Calculate method in our on-the-fly assembly
///
///
- static private string RunCode(CompilerResults results)
+ public static string RunCode(CompilerResults results)
{
Assembly executingAssembly = results.CompiledAssembly;
try
@@ -238,13 +240,13 @@ namespace ArdupilotMega
}
- static CodeMemberField FieldVariable(string fieldName, string typeName, MemberAttributes accessLevel)
+ public static CodeMemberField FieldVariable(string fieldName, string typeName, MemberAttributes accessLevel)
{
CodeMemberField field = new CodeMemberField(typeName, fieldName);
field.Attributes = accessLevel;
return field;
}
- static CodeMemberField FieldVariable(string fieldName, Type type, MemberAttributes accessLevel)
+ public static CodeMemberField FieldVariable(string fieldName, Type type, MemberAttributes accessLevel)
{
CodeMemberField field = new CodeMemberField(type, fieldName);
field.Attributes = accessLevel;
@@ -258,7 +260,7 @@ namespace ArdupilotMega
///
///
///
- static CodeMemberProperty MakeProperty(string propertyName, string internalName, Type type)
+ public static CodeMemberProperty MakeProperty(string propertyName, string internalName, Type type)
{
CodeMemberProperty myProperty = new CodeMemberProperty();
myProperty.Name = propertyName;
@@ -285,7 +287,7 @@ namespace ArdupilotMega
///
/// Main driving routine for building a class
///
- static void BuildClass(string expression)
+ public static void BuildClass(string expression)
{
// need a string to put the code into
_source = new StringBuilder();
@@ -300,6 +302,8 @@ namespace ArdupilotMega
myNamespace.Imports.Add(new CodeNamespaceImport("System"));
myNamespace.Imports.Add(new CodeNamespaceImport("System.Windows.Forms"));
+ myNamespace.Imports.Add(new CodeNamespaceImport("ArdupilotMega"));
+
//Build the class declaration and member variables
CodeTypeDeclaration classDeclaration = new CodeTypeDeclaration();
classDeclaration.IsClass = true;
@@ -312,12 +316,16 @@ namespace ArdupilotMega
defaultConstructor.Attributes = MemberAttributes.Public;
defaultConstructor.Comments.Add(new CodeCommentStatement("Default Constructor for class", true));
defaultConstructor.Statements.Add(new CodeSnippetStatement("//TODO: implement default constructor"));
+
classDeclaration.Members.Add(defaultConstructor);
+
+
//property
classDeclaration.Members.Add(MakeProperty("Answer", "answer", typeof(object)));
//Our Calculate Method
+ /*
CodeMemberMethod myMethod = new CodeMemberMethod();
myMethod.Name = "Calculate";
myMethod.ReturnType = new CodeTypeReference(typeof(object));
@@ -328,11 +336,24 @@ namespace ArdupilotMega
myMethod.Statements.Add(
new CodeMethodReturnStatement(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), "Answer")));
classDeclaration.Members.Add(myMethod);
+ */
+
+ classDeclaration.Members.Add(FieldVariable("customforusenumber", typeof(double), MemberAttributes.Public));
+ classDeclaration.Members.Add(FieldVariable("customforuseobject", typeof(object), MemberAttributes.Public));
+
+ CodeSnippetTypeMember myMethod = new CodeSnippetTypeMember();
+
+ myMethod.Text = expression;
+
+ classDeclaration.Members.Add(myMethod);
+
//write code
myNamespace.Types.Add(classDeclaration);
generator.GenerateCodeFromNamespace(myNamespace, sw, codeOpts);
sw.Flush();
sw.Close();
+
+ Console.Write(sw.ToString());
}
}
}
diff --git a/Tools/ArdupilotMegaPlanner/Controls/CustomMessageBox.cs b/Tools/ArdupilotMegaPlanner/Controls/CustomMessageBox.cs
index 08863d1bd0..4a8b4c0f1b 100644
--- a/Tools/ArdupilotMegaPlanner/Controls/CustomMessageBox.cs
+++ b/Tools/ArdupilotMegaPlanner/Controls/CustomMessageBox.cs
@@ -1,7 +1,7 @@
using System;
using System.Drawing;
using System.Windows.Forms;
-using ArdupilotMega.Controls;
+//using ArdupilotMega.Controls;
using System.Text;
using ArdupilotMega;
@@ -141,6 +141,11 @@ namespace System.Windows.Forms
sb.Append(Environment.NewLine);
currentLinePosition = 0;
}
+ // reset line lnegth counter on existing new line
+ if (text[textIndex] == Environment.NewLine[Environment.NewLine.Length -1])
+ {
+ currentLinePosition = 0;
+ }
// If we have just started a new line, skip all the whitespace.
if (currentLinePosition == 0)
while (textIndex < text.Length && char.IsWhiteSpace(text[textIndex]))
diff --git a/Tools/ArdupilotMegaPlanner/CurrentState.cs b/Tools/ArdupilotMegaPlanner/CurrentState.cs
index 087c85741d..5549044d61 100644
--- a/Tools/ArdupilotMegaPlanner/CurrentState.cs
+++ b/Tools/ArdupilotMegaPlanner/CurrentState.cs
@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Reflection;
using System.Text;
using System.ComponentModel;
-using ArdupilotMega.Mavlink;
using log4net;
namespace ArdupilotMega
diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.Designer.cs b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.Designer.cs
index c95bbbd9a0..50e01de71c 100644
--- a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.Designer.cs
+++ b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.Designer.cs
@@ -30,8 +30,8 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Configuration));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.Params = new System.Windows.Forms.DataGridView();
this.Command = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -181,10 +181,6 @@
this.THR_ALT_P = new System.Windows.Forms.NumericUpDown();
this.label22 = new System.Windows.Forms.Label();
this.groupBox19 = new System.Windows.Forms.GroupBox();
- this.HLD_LAT_IMAX = new System.Windows.Forms.NumericUpDown();
- this.label28 = new System.Windows.Forms.Label();
- this.HLD_LAT_I = new System.Windows.Forms.NumericUpDown();
- this.label30 = new System.Windows.Forms.Label();
this.HLD_LAT_P = new System.Windows.Forms.NumericUpDown();
this.label31 = new System.Windows.Forms.Label();
this.groupBox20 = new System.Windows.Forms.GroupBox();
@@ -291,6 +287,13 @@
this.BUT_load = new ArdupilotMega.MyButton();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.BUT_compare = new ArdupilotMega.MyButton();
+ this.groupBox17 = new System.Windows.Forms.GroupBox();
+ this.LOITER_LAT_D = new System.Windows.Forms.NumericUpDown();
+ this.label28 = new System.Windows.Forms.Label();
+ this.LOITER_LAT_I = new System.Windows.Forms.NumericUpDown();
+ this.label30 = new System.Windows.Forms.Label();
+ this.LOITER_LAT_P = new System.Windows.Forms.NumericUpDown();
+ this.label40 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.Params)).BeginInit();
this.ConfigTabs.SuspendLayout();
this.TabAP.SuspendLayout();
@@ -371,8 +374,6 @@
((System.ComponentModel.ISupportInitialize)(this.THR_ALT_I)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.THR_ALT_P)).BeginInit();
this.groupBox19.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.HLD_LAT_IMAX)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.HLD_LAT_I)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.HLD_LAT_P)).BeginInit();
this.groupBox20.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.STB_YAW_IMAX)).BeginInit();
@@ -404,6 +405,10 @@
((System.ComponentModel.ISupportInitialize)(this.RATE_RLL_P)).BeginInit();
this.TabPlanner.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.NUM_tracklength)).BeginInit();
+ this.groupBox17.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.LOITER_LAT_D)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.LOITER_LAT_I)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.LOITER_LAT_P)).BeginInit();
this.SuspendLayout();
//
// Params
@@ -411,14 +416,14 @@
this.Params.AllowUserToAddRows = false;
this.Params.AllowUserToDeleteRows = false;
resources.ApplyResources(this.Params, "Params");
- dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.Maroon;
- dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
- dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.Params.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle3.BackColor = System.Drawing.Color.Maroon;
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle3.ForeColor = System.Drawing.Color.White;
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.Params.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.Params.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.Params.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Command,
@@ -427,14 +432,14 @@
this.mavScale,
this.RawValue});
this.Params.Name = "Params";
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.ActiveCaption;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.Params.RowHeadersDefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.ActiveCaption;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.Params.RowHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.Params.RowHeadersVisible = false;
this.Params.CellValueChanged += new System.Windows.Forms.DataGridViewCellEventHandler(this.Params_CellValueChanged);
this.Params.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Params_KeyDown);
@@ -1097,14 +1102,7 @@
//
// TabAC
//
- this.TabAC.Controls.Add(this.myLabel4);
- this.TabAC.Controls.Add(this.myLabel3);
- this.TabAC.Controls.Add(this.TUNE_LOW);
- this.TabAC.Controls.Add(this.TUNE_HIGH);
- this.TabAC.Controls.Add(this.myLabel2);
- this.TabAC.Controls.Add(this.TUNE);
- this.TabAC.Controls.Add(this.myLabel1);
- this.TabAC.Controls.Add(this.CH7_OPT);
+ this.TabAC.Controls.Add(this.groupBox17);
this.TabAC.Controls.Add(this.groupBox5);
this.TabAC.Controls.Add(this.CHK_lockrollpitch);
this.TabAC.Controls.Add(this.groupBox4);
@@ -1393,36 +1391,18 @@
//
// groupBox19
//
- this.groupBox19.Controls.Add(this.HLD_LAT_IMAX);
+ this.groupBox19.Controls.Add(this.LOITER_LAT_D);
this.groupBox19.Controls.Add(this.label28);
- this.groupBox19.Controls.Add(this.HLD_LAT_I);
+ this.groupBox19.Controls.Add(this.LOITER_LAT_I);
this.groupBox19.Controls.Add(this.label30);
+ this.groupBox19.Controls.Add(this.LOITER_LAT_P);
+ this.groupBox19.Controls.Add(this.label40);
this.groupBox19.Controls.Add(this.HLD_LAT_P);
this.groupBox19.Controls.Add(this.label31);
resources.ApplyResources(this.groupBox19, "groupBox19");
this.groupBox19.Name = "groupBox19";
this.groupBox19.TabStop = false;
//
- // HLD_LAT_IMAX
- //
- resources.ApplyResources(this.HLD_LAT_IMAX, "HLD_LAT_IMAX");
- this.HLD_LAT_IMAX.Name = "HLD_LAT_IMAX";
- //
- // label28
- //
- resources.ApplyResources(this.label28, "label28");
- this.label28.Name = "label28";
- //
- // HLD_LAT_I
- //
- resources.ApplyResources(this.HLD_LAT_I, "HLD_LAT_I");
- this.HLD_LAT_I.Name = "HLD_LAT_I";
- //
- // label30
- //
- resources.ApplyResources(this.label30, "label30");
- this.label30.Name = "label30";
- //
// HLD_LAT_P
//
resources.ApplyResources(this.HLD_LAT_P, "HLD_LAT_P");
@@ -2173,6 +2153,50 @@
this.BUT_compare.UseVisualStyleBackColor = true;
this.BUT_compare.Click += new System.EventHandler(this.BUT_compare_Click);
//
+ // groupBox17
+ //
+ this.groupBox17.Controls.Add(this.myLabel2);
+ this.groupBox17.Controls.Add(this.myLabel4);
+ this.groupBox17.Controls.Add(this.CH7_OPT);
+ this.groupBox17.Controls.Add(this.myLabel3);
+ this.groupBox17.Controls.Add(this.myLabel1);
+ this.groupBox17.Controls.Add(this.TUNE_LOW);
+ this.groupBox17.Controls.Add(this.TUNE);
+ this.groupBox17.Controls.Add(this.TUNE_HIGH);
+ resources.ApplyResources(this.groupBox17, "groupBox17");
+ this.groupBox17.Name = "groupBox17";
+ this.groupBox17.TabStop = false;
+ //
+ // LOITER_LAT_D
+ //
+ resources.ApplyResources(this.LOITER_LAT_D, "LOITER_LAT_D");
+ this.LOITER_LAT_D.Name = "LOITER_LAT_D";
+ //
+ // label28
+ //
+ resources.ApplyResources(this.label28, "label28");
+ this.label28.Name = "label28";
+ //
+ // LOITER_LAT_I
+ //
+ resources.ApplyResources(this.LOITER_LAT_I, "LOITER_LAT_I");
+ this.LOITER_LAT_I.Name = "LOITER_LAT_I";
+ //
+ // label30
+ //
+ resources.ApplyResources(this.label30, "label30");
+ this.label30.Name = "label30";
+ //
+ // LOITER_LAT_P
+ //
+ resources.ApplyResources(this.LOITER_LAT_P, "LOITER_LAT_P");
+ this.LOITER_LAT_P.Name = "LOITER_LAT_P";
+ //
+ // label40
+ //
+ resources.ApplyResources(this.label40, "label40");
+ this.label40.Name = "label40";
+ //
// Configuration
//
resources.ApplyResources(this, "$this");
@@ -2268,8 +2292,6 @@
((System.ComponentModel.ISupportInitialize)(this.THR_ALT_I)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.THR_ALT_P)).EndInit();
this.groupBox19.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.HLD_LAT_IMAX)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.HLD_LAT_I)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.HLD_LAT_P)).EndInit();
this.groupBox20.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.STB_YAW_IMAX)).EndInit();
@@ -2301,6 +2323,10 @@
((System.ComponentModel.ISupportInitialize)(this.RATE_RLL_P)).EndInit();
this.TabPlanner.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.NUM_tracklength)).EndInit();
+ this.groupBox17.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.LOITER_LAT_D)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.LOITER_LAT_I)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.LOITER_LAT_P)).EndInit();
this.ResumeLayout(false);
}
@@ -2432,10 +2458,6 @@
private System.Windows.Forms.NumericUpDown THR_ALT_P;
private System.Windows.Forms.Label label22;
private System.Windows.Forms.GroupBox groupBox19;
- private System.Windows.Forms.NumericUpDown HLD_LAT_IMAX;
- private System.Windows.Forms.Label label28;
- private System.Windows.Forms.NumericUpDown HLD_LAT_I;
- private System.Windows.Forms.Label label30;
private System.Windows.Forms.NumericUpDown HLD_LAT_P;
private System.Windows.Forms.Label label31;
private System.Windows.Forms.GroupBox groupBox20;
@@ -2566,5 +2588,12 @@
private System.Windows.Forms.ComboBox CMB_ratesensors;
private MyLabel myLabel4;
private MyLabel myLabel3;
+ private System.Windows.Forms.GroupBox groupBox17;
+ private System.Windows.Forms.NumericUpDown LOITER_LAT_D;
+ private System.Windows.Forms.Label label28;
+ private System.Windows.Forms.NumericUpDown LOITER_LAT_I;
+ private System.Windows.Forms.Label label30;
+ private System.Windows.Forms.NumericUpDown LOITER_LAT_P;
+ private System.Windows.Forms.Label label40;
}
}
diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs
index 2c875ef644..6410f1e3db 100644
--- a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs
+++ b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.cs
@@ -512,6 +512,19 @@ namespace ArdupilotMega.GCSViews
}
}
}
+ // keep nav_lat and nav_lon paired
+ if (name.Contains("LOITER_LAT_"))
+ {
+ string newname = name.Replace("LOITER_LAT_", "LOITER_LON_");
+ foreach (DataGridViewRow row in Params.Rows)
+ {
+ if (row.Cells[0].Value.ToString() == newname)
+ {
+ row.Cells[1].Value = float.Parse(((Control)sender).Text);
+ break;
+ }
+ }
+ }
}
catch { }
diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.resx b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.resx
index 337222af94..7f73de58f9 100644
--- a/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.resx
+++ b/Tools/ArdupilotMegaPlanner/GCSViews/Configuration.resx
@@ -192,6 +192,2388 @@
Top, Bottom, Left, Right
+
+ groupBox3
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 0
+
+
+ groupBox1
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 1
+
+
+ groupBox2
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 2
+
+
+ groupBox15
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 3
+
+
+ groupBox16
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 4
+
+
+ groupBox14
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 5
+
+
+ groupBox13
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 6
+
+
+ groupBox12
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 7
+
+
+ groupBox11
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 8
+
+
+ groupBox10
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 9
+
+
+ groupBox9
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 10
+
+
+ groupBox8
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 11
+
+
+ 4, 22
+
+
+ 0, 0, 0, 0
+
+
+ 722, 434
+
+
+ 0
+
+
+ ArduPlane
+
+
+ TabAP
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConfigTabs
+
+
+ 0
+
+
+ myLabel2
+
+
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ groupBox17
+
+
+ 0
+
+
+ myLabel4
+
+
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ groupBox17
+
+
+ 1
+
+
+ CH7_OPT
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox17
+
+
+ 2
+
+
+ myLabel3
+
+
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ groupBox17
+
+
+ 3
+
+
+ myLabel1
+
+
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ groupBox17
+
+
+ 4
+
+
+ TUNE_LOW
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox17
+
+
+ 5
+
+
+ TUNE
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox17
+
+
+ 6
+
+
+ TUNE_HIGH
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox17
+
+
+ 7
+
+
+ 534, 260
+
+
+ 185, 113
+
+
+ 16
+
+
+ Tuning
+
+
+ groupBox17
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 0
+
+
+ THR_RATE_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 0
+
+
+ label29
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 1
+
+
+ label14
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 2
+
+
+ THR_RATE_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 3
+
+
+ THR_RATE_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 4
+
+
+ label20
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 5
+
+
+ THR_RATE_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 6
+
+
+ label25
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox5
+
+
+ 7
+
+
+ 6, 260
+
+
+ 170, 110
+
+
+ 16
+
+
+ Throttle Rate
+
+
+ groupBox5
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 1
+
+
+ True
+
+
+ 3, 240
+
+
+ 154, 17
+
+
+ 13
+
+
+ Lock Pitch and Roll Values
+
+
+ CHK_lockrollpitch
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 2
+
+
+ NAV_LAT_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 0
+
+
+ label27
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 1
+
+
+ WP_SPEED_MAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 2
+
+
+ label9
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 3
+
+
+ NAV_LAT_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 4
+
+
+ label13
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 5
+
+
+ NAV_LAT_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 6
+
+
+ label15
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 7
+
+
+ NAV_LAT_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 8
+
+
+ label16
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox4
+
+
+ 9
+
+
+ 534, 126
+
+
+ 170, 131
+
+
+ 0
+
+
+ Nav WP
+
+
+ groupBox4
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 3
+
+
+ XTRK_GAIN_SC1
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox6
+
+
+ 0
+
+
+ label18
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox6
+
+
+ 1
+
+
+ 358, 260
+
+
+ 170, 43
+
+
+ 2
+
+
+ Crosstrack Correction
+
+
+ groupBox6
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 4
+
+
+ THR_ALT_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox7
+
+
+ 0
+
+
+ label19
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox7
+
+
+ 1
+
+
+ THR_ALT_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox7
+
+
+ 2
+
+
+ label21
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox7
+
+
+ 3
+
+
+ THR_ALT_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox7
+
+
+ 4
+
+
+ label22
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox7
+
+
+ 5
+
+
+ 182, 260
+
+
+ 170, 110
+
+
+ 3
+
+
+ Altitude Hold
+
+
+ groupBox7
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 5
+
+
+ 80, 88
+
+
+ 78, 20
+
+
+ 18
+
+
+ LOITER_LAT_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 0
+
+
+ NoControl
+
+
+ 6, 91
+
+
+ 65, 13
+
+
+ 19
+
+
+ D
+
+
+ label28
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 1
+
+
+ 80, 62
+
+
+ 78, 20
+
+
+ 17
+
+
+ LOITER_LAT_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 2
+
+
+ NoControl
+
+
+ 6, 65
+
+
+ 10, 13
+
+
+ 20
+
+
+ I
+
+
+ label30
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 3
+
+
+ 80, 38
+
+
+ 78, 20
+
+
+ 16
+
+
+ LOITER_LAT_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 4
+
+
+ NoControl
+
+
+ 6, 41
+
+
+ 14, 13
+
+
+ 21
+
+
+ P
+
+
+ label40
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 5
+
+
+ 80, 13
+
+
+ 78, 20
+
+
+ 5
+
+
+ HLD_LAT_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 6
+
+
+ NoControl
+
+
+ 6, 16
+
+
+ 68, 13
+
+
+ 15
+
+
+ Loiter Speed
+
+
+ label31
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox19
+
+
+ 7
+
+
+ 531, 6
+
+
+ 170, 114
+
+
+ 6
+
+
+ Loiter
+
+
+ groupBox19
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 6
+
+
+ STB_YAW_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox20
+
+
+ 0
+
+
+ label32
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox20
+
+
+ 1
+
+
+ STB_YAW_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox20
+
+
+ 2
+
+
+ label34
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox20
+
+
+ 3
+
+
+ STB_YAW_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox20
+
+
+ 4
+
+
+ label35
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox20
+
+
+ 5
+
+
+ 358, 6
+
+
+ 170, 95
+
+
+ 7
+
+
+ Stabilize Yaw
+
+
+ groupBox20
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 7
+
+
+ STAB_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 0
+
+
+ lblSTAB_D
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 1
+
+
+ STB_PIT_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 2
+
+
+ label36
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 3
+
+
+ STB_PIT_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 4
+
+
+ label41
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 5
+
+
+ STB_PIT_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 6
+
+
+ label42
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox21
+
+
+ 7
+
+
+ 182, 6
+
+
+ 170, 114
+
+
+ 8
+
+
+ Stabilize Pitch
+
+
+ groupBox21
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 8
+
+
+ STB_RLL_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox22
+
+
+ 0
+
+
+ label43
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox22
+
+
+ 1
+
+
+ STB_RLL_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox22
+
+
+ 2
+
+
+ label45
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox22
+
+
+ 3
+
+
+ STB_RLL_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox22
+
+
+ 4
+
+
+ label46
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox22
+
+
+ 5
+
+
+ 6, 6
+
+
+ 170, 95
+
+
+ 9
+
+
+ Stabilize Roll
+
+
+ groupBox22
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 9
+
+
+ RATE_YAW_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 0
+
+
+ label10
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 1
+
+
+ RATE_YAW_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 2
+
+
+ label47
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 3
+
+
+ RATE_YAW_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 4
+
+
+ label77
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 5
+
+
+ RATE_YAW_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 6
+
+
+ label82
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox23
+
+
+ 7
+
+
+ 358, 126
+
+
+ 170, 108
+
+
+ 10
+
+
+ Rate Yaw
+
+
+ groupBox23
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 10
+
+
+ RATE_PIT_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 0
+
+
+ label11
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 1
+
+
+ RATE_PIT_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 2
+
+
+ label84
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 3
+
+
+ RATE_PIT_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 4
+
+
+ label86
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 5
+
+
+ RATE_PIT_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 6
+
+
+ label87
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox24
+
+
+ 7
+
+
+ 182, 126
+
+
+ 170, 108
+
+
+ 11
+
+
+ Rate Pitch
+
+
+ groupBox24
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 11
+
+
+ RATE_RLL_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 0
+
+
+ label17
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 1
+
+
+ RATE_RLL_IMAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 2
+
+
+ label88
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 3
+
+
+ RATE_RLL_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 4
+
+
+ label90
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 5
+
+
+ RATE_RLL_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 6
+
+
+ label91
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox25
+
+
+ 7
+
+
+ 6, 126
+
+
+ 170, 108
+
+
+ 12
+
+
+ Rate Roll
+
+
+ groupBox25
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAC
+
+
+ 12
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 722, 434
+
+
+ 1
+
+
+ ArduCopter
+
+
+ TabAC
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConfigTabs
+
+
+ 1
+
+
+ label33
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 0
+
+
+ CMB_ratesensors
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 1
+
+
+ label26
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 2
+
+
+ CMB_videoresolutions
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 3
+
+
+ label12
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 4
+
+
+ CHK_GDIPlus
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 5
+
+
+ label24
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 6
+
+
+ CHK_loadwponconnect
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 7
+
+
+ label23
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 8
+
+
+ NUM_tracklength
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 9
+
+
+ CHK_speechaltwarning
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 10
+
+
+ label108
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 11
+
+
+ CHK_resetapmonconnect
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 12
+
+
+ CHK_mavdebug
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 13
+
+
+ label107
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 14
+
+
+ CMB_raterc
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 15
+
+
+ label104
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 16
+
+
+ label103
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 17
+
+
+ label102
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 18
+
+
+ label101
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 19
+
+
+ CMB_ratestatus
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 20
+
+
+ CMB_rateposition
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 21
+
+
+ CMB_rateattitude
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 22
+
+
+ label99
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 23
+
+
+ label98
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 24
+
+
+ label97
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 25
+
+
+ CMB_speedunits
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 26
+
+
+ CMB_distunits
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 27
+
+
+ label96
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 28
+
+
+ label95
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 29
+
+
+ CHK_speechbattery
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 30
+
+
+ CHK_speechcustom
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 31
+
+
+ CHK_speechmode
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 32
+
+
+ CHK_speechwaypoint
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 33
+
+
+ label94
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 34
+
+
+ CMB_osdcolor
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 35
+
+
+ CMB_language
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 36
+
+
+ label93
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 37
+
+
+ CHK_enablespeech
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 38
+
+
+ CHK_hudshow
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 39
+
+
+ label92
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 40
+
+
+ CMB_videosources
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabPlanner
+
+
+ 41
+
+
+ BUT_Joystick
+
+
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ TabPlanner
+
+
+ 42
+
+
+ BUT_videostop
+
+
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ TabPlanner
+
+
+ 43
+
+
+ BUT_videostart
+
+
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
+
+
+ TabPlanner
+
+
+ 44
+
+
+ 4, 22
+
+
+ 3, 3, 3, 3
+
+
+ 722, 434
+
+
+ 2
+
+
+ Planner
+
+
+ TabPlanner
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConfigTabs
+
+
+ 2
+
+
+ 4, 22
+
+
+ 722, 434
+
+
+ 3
+
+
+ Setup
+
+
+ TabSetup
+
+
+ System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ ConfigTabs
+
+
+ 3
+
+
+ 52, 18
+
+
+ 278, 0
+
+
+ 0, 0, 0, 0
+
+
+ 0, 0
+
+
+ 730, 460
+
+
+ 62
+
+
+ ConfigTabs
+
+
+ System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 2
+
+
+ THR_FS_VALUE
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 0
+
+
+ label5
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 1
+
+
+ THR_MAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 2
+
+
+ label6
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 3
+
+
+ THR_MIN
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 4
+
+
+ label7
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 5
+
+
+ TRIM_THROTTLE
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 6
+
+
+ label8
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox3
+
+
+ 7
+
+
+ 405, 217
+
+
+ 195, 108
+
+
+ 0
+
+
+ Throttle 0-100%
+
+
+ groupBox3
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ TabAP
+
+
+ 0
+
111, 82
@@ -384,29 +2766,125 @@
7
-
- 405, 217
+
+ ARSPD_RATIO
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 0
+
+
+ label1
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 1
+
+
+ ARSPD_FBW_MAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 2
+
+
+ label2
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 3
+
+
+ ARSPD_FBW_MIN
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 4
+
+
+ label3
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 5
+
+
+ TRIM_ARSPD_CM
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 6
+
+
+ label4
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox1
+
+
+ 7
+
+
+ 406, 325
+
+
195, 108
-
- 0
+
+ 1
-
- Throttle 0-100%
+
+ Airspeed m/s
-
- groupBox3
+
+ groupBox1
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 0
+
+ 1
111, 82
@@ -600,29 +3078,101 @@
7
-
- 406, 325
+
+ LIM_PITCH_MIN
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 0
+
+
+ label39
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 1
+
+
+ LIM_PITCH_MAX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 2
+
+
+ label38
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 3
+
+
+ LIM_ROLL_CD
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 4
+
+
+ label37
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox2
+
+
+ 5
+
+
+ 205, 325
+
+
195, 108
-
- 1
+
+ 2
-
- Airspeed m/s
+
+ Navigation Angles
-
- groupBox1
+
+ groupBox2
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 1
+
+ 2
111, 59
@@ -768,29 +3318,77 @@
5
-
- 205, 325
+
+ XTRK_ANGLE_CD
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox15
+
+
+ 0
+
+
+ label79
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox15
+
+
+ 1
+
+
+ XTRK_GAIN_SC
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox15
+
+
+ 2
+
+
+ label80
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox15
+
+
+ 3
+
+
+ 4, 325
+
+
195, 108
-
- 2
+
+ 3
-
- Navigation Angles
+
+ Xtrack Pids
-
- groupBox2
+
+ groupBox15
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 2
+
+ 3
111, 36
@@ -888,29 +3486,101 @@
3
-
- 4, 325
+
+ KFF_PTCH2THR
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox16
+
+
+ 0
+
+
+ label83
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox16
+
+
+ 1
+
+
+ KFF_RDDRMIX
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox16
+
+
+ 2
+
+
+ label78
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox16
+
+
+ 3
+
+
+ KFF_PTCHCOMP
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox16
+
+
+ 4
+
+
+ label81
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox16
+
+
+ 5
+
+
+ 205, 217
+
+
195, 108
-
- 3
+
+ 4
-
- Xtrack Pids
+
+ Other Mix's
-
- groupBox15
+
+ groupBox16
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 3
+
+ 4
111, 13
@@ -1056,29 +3726,125 @@
5
-
- 205, 217
+
+ ENRGY2THR_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 0
+
+
+ label73
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 1
+
+
+ ENRGY2THR_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 2
+
+
+ label74
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 3
+
+
+ ENRGY2THR_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 4
+
+
+ label75
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 5
+
+
+ ENRGY2THR_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 6
+
+
+ label76
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox14
+
+
+ 7
+
+
+ 4, 217
+
+
195, 108
-
- 4
+
+ 5
-
- Other Mix's
+
+ Energy/Alt Pid
-
- groupBox16
+
+ groupBox14
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 4
+
+ 5
111, 82
@@ -1272,29 +4038,125 @@
7
-
- 4, 217
+
+ ALT2PTCH_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 0
+
+
+ label69
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 1
+
+
+ ALT2PTCH_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 2
+
+
+ label70
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 3
+
+
+ ALT2PTCH_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 4
+
+
+ label71
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 5
+
+
+ ALT2PTCH_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 6
+
+
+ label72
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox13
+
+
+ 7
+
+
+ 406, 109
+
+
195, 108
-
- 5
+
+ 6
-
- Energy/Alt Pid
+
+ Nav Pitch Alt Pid
-
- groupBox14
+
+ groupBox13
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 5
+
+ 6
111, 82
@@ -1488,29 +4350,125 @@
7
-
- 406, 109
+
+ ARSP2PTCH_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 0
+
+
+ label65
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 1
+
+
+ ARSP2PTCH_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 2
+
+
+ label66
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 3
+
+
+ ARSP2PTCH_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 4
+
+
+ label67
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 5
+
+
+ ARSP2PTCH_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 6
+
+
+ label68
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox12
+
+
+ 7
+
+
+ 205, 109
+
+
195, 108
-
- 6
+
+ 7
-
- Nav Pitch Alt Pid
+
+ Nav Pitch AS Pid
-
- groupBox13
+
+ groupBox12
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 6
+
+ 7
111, 82
@@ -1704,29 +4662,125 @@
7
-
- 205, 109
+
+ HDNG2RLL_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 0
+
+
+ label61
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 1
+
+
+ HDNG2RLL_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 2
+
+
+ label62
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 3
+
+
+ HDNG2RLL_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 4
+
+
+ label63
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 5
+
+
+ HDNG2RLL_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 6
+
+
+ label64
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox11
+
+
+ 7
+
+
+ 4, 109
+
+
195, 108
-
- 7
+
+ 8
-
- Nav Pitch AS Pid
+
+ Nav Roll Pid
-
- groupBox12
+
+ groupBox11
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 7
+
+ 8
111, 82
@@ -1920,29 +4974,125 @@
7
-
- 4, 109
+
+ YW2SRV_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 0
+
+
+ label57
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 1
+
+
+ YW2SRV_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 2
+
+
+ label58
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 3
+
+
+ YW2SRV_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 4
+
+
+ label59
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 5
+
+
+ YW2SRV_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 6
+
+
+ label60
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox10
+
+
+ 7
+
+
+ 406, 1
+
+
195, 108
-
- 8
+
+ 9
-
- Nav Roll Pid
+
+ Servo Yaw Pid
-
- groupBox11
+
+ groupBox10
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 8
+
+ 9
111, 82
@@ -2136,29 +5286,125 @@
7
-
- 406, 1
+
+ PTCH2SRV_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 0
+
+
+ label53
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 1
+
+
+ PTCH2SRV_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 2
+
+
+ label54
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 3
+
+
+ PTCH2SRV_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 4
+
+
+ label55
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 5
+
+
+ PTCH2SRV_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 6
+
+
+ label56
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox9
+
+
+ 7
+
+
+ 205, 1
+
+
195, 108
-
- 9
+
+ 10
-
- Servo Yaw Pid
+
+ Servo Pitch Pid
-
- groupBox10
+
+ groupBox9
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 9
+
+ 10
111, 82
@@ -2352,29 +5598,125 @@
7
-
- 205, 1
+
+ RLL2SRV_IMAX
-
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 0
+
+
+ label49
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 1
+
+
+ RLL2SRV_D
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 2
+
+
+ label50
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 3
+
+
+ RLL2SRV_I
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 4
+
+
+ label51
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 5
+
+
+ RLL2SRV_P
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 6
+
+
+ label52
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ groupBox8
+
+
+ 7
+
+
+ 4, 1
+
+
195, 108
-
- 10
+
+ 11
-
- Servo Pitch Pid
+
+ Servo Roll Pid
-
- groupBox9
+
+ groupBox8
-
+
System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
TabAP
-
- 10
+
+ 11
111, 82
@@ -2568,59 +5910,8 @@
7
-
- 4, 1
-
-
- 195, 108
-
-
- 11
-
-
- Servo Roll Pid
-
-
- groupBox8
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAP
-
-
- 11
-
-
- 4, 22
-
-
- 0, 0, 0, 0
-
-
- 722, 434
-
-
- 0
-
-
- ArduPlane
-
-
- TabAP
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- ConfigTabs
-
-
- 0
-
- 626, 294
+ 101, 47
27, 23
@@ -2635,16 +5926,16 @@
myLabel4
- ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
- TabAC
+ groupBox17
- 0
+ 1
- 534, 295
+ 9, 48
29, 23
@@ -2659,16 +5950,16 @@
myLabel3
- ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
- TabAC
+ groupBox17
- 1
+ 3
- 569, 298
+ 44, 51
51, 20
@@ -2683,13 +5974,13 @@
System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- TabAC
+ groupBox17
- 2
+ 5
- 659, 298
+ 134, 51
46, 20
@@ -2704,13 +5995,13 @@
System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- TabAC
+ groupBox17
- 3
+ 7
- 534, 270
+ 9, 23
53, 23
@@ -2725,13 +6016,13 @@
myLabel2
- ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
- TabAC
+ groupBox17
- 4
+ 0
CH6_NONE
@@ -2800,7 +6091,7 @@
CH6_RATE_KD
- 593, 270
+ 68, 23
112, 21
@@ -2815,13 +6106,13 @@
System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- TabAC
+ groupBox17
- 5
+ 6
- 534, 322
+ 9, 75
53, 23
@@ -2836,13 +6127,13 @@
myLabel1
- ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyLabel, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
- TabAC
+ groupBox17
- 6
+ 4
Do Nothing
@@ -2869,7 +6160,7 @@
Save WP
- 593, 322
+ 68, 75
112, 21
@@ -2884,10 +6175,10 @@
System.Windows.Forms.ComboBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
- TabAC
+ groupBox17
- 7
+ 2
80, 60
@@ -3081,57 +6372,6 @@
7
-
- 6, 260
-
-
- 170, 110
-
-
- 16
-
-
- Throttle Rate
-
-
- groupBox5
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 8
-
-
- True
-
-
- 3, 240
-
-
- 154, 17
-
-
- 13
-
-
- Lock Pitch and Roll Values
-
-
- CHK_lockrollpitch
-
-
- System.Windows.Forms.CheckBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 9
-
80, 60
@@ -3372,30 +6612,6 @@
9
-
- 534, 126
-
-
- 170, 131
-
-
- 0
-
-
- Nav WP
-
-
- groupBox4
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 10
-
80, 13
@@ -3444,30 +6660,6 @@
1
-
- 358, 260
-
-
- 170, 43
-
-
- 2
-
-
- Crosstrack Correction
-
-
- groupBox6
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 11
-
80, 63
@@ -3612,198 +6804,6 @@
5
-
- 182, 260
-
-
- 170, 110
-
-
- 3
-
-
- Altitude Hold
-
-
- groupBox7
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 12
-
-
- 80, 61
-
-
- 78, 20
-
-
- 11
-
-
- HLD_LAT_IMAX
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox19
-
-
- 0
-
-
- NoControl
-
-
- 6, 64
-
-
- 65, 13
-
-
- 12
-
-
- IMAX
-
-
- label28
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox19
-
-
- 1
-
-
- 80, 37
-
-
- 78, 20
-
-
- 7
-
-
- HLD_LAT_I
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox19
-
-
- 2
-
-
- NoControl
-
-
- 6, 40
-
-
- 10, 13
-
-
- 14
-
-
- I
-
-
- label30
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox19
-
-
- 3
-
-
- 80, 13
-
-
- 78, 20
-
-
- 5
-
-
- HLD_LAT_P
-
-
- System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox19
-
-
- 4
-
-
- NoControl
-
-
- 6, 16
-
-
- 14, 13
-
-
- 15
-
-
- P
-
-
- label31
-
-
- System.Windows.Forms.Label, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- groupBox19
-
-
- 5
-
-
- 531, 6
-
-
- 170, 95
-
-
- 6
-
-
- Loiter
-
-
- groupBox19
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 13
-
80, 63
@@ -3948,30 +6948,6 @@
5
-
- 358, 6
-
-
- 170, 95
-
-
- 7
-
-
- Stabilize Yaw
-
-
- groupBox20
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 14
-
80, 88
@@ -4164,30 +7140,6 @@
7
-
- 182, 6
-
-
- 170, 114
-
-
- 8
-
-
- Stabilize Pitch
-
-
- groupBox21
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 15
-
80, 63
@@ -4332,30 +7284,6 @@
5
-
- 6, 6
-
-
- 170, 95
-
-
- 9
-
-
- Stabilize Roll
-
-
- groupBox22
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 16
-
80, 60
@@ -4548,30 +7476,6 @@
7
-
- 358, 126
-
-
- 170, 108
-
-
- 10
-
-
- Rate Yaw
-
-
- groupBox23
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 17
-
80, 60
@@ -4764,30 +7668,6 @@
7
-
- 182, 126
-
-
- 170, 108
-
-
- 11
-
-
- Rate Pitch
-
-
- groupBox24
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 18
-
80, 60
@@ -4980,57 +7860,6 @@
7
-
- 6, 126
-
-
- 170, 108
-
-
- 12
-
-
- Rate Roll
-
-
- groupBox25
-
-
- System.Windows.Forms.GroupBox, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- TabAC
-
-
- 19
-
-
- 4, 22
-
-
- 3, 3, 3, 3
-
-
- 722, 434
-
-
- 1
-
-
- ArduCopter
-
-
- TabAC
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- ConfigTabs
-
-
- 1
-
NoControl
@@ -5169,6 +7998,9 @@
4
+
+ 17, 17
+
NoControl
@@ -5184,9 +8016,6 @@
GDI+ (old type)
-
- 17, 17
-
OpenGL = Disabled
GDI+ = Enabled
@@ -6189,7 +9018,7 @@ GDI+ = Enabled
BUT_Joystick
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
TabPlanner
@@ -6216,7 +9045,7 @@ GDI+ = Enabled
BUT_videostop
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
TabPlanner
@@ -6243,7 +9072,7 @@ GDI+ = Enabled
BUT_videostart
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
TabPlanner
@@ -6251,87 +9080,6 @@ GDI+ = Enabled
44
-
- 4, 22
-
-
- 3, 3, 3, 3
-
-
- 722, 434
-
-
- 2
-
-
- Planner
-
-
- TabPlanner
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- ConfigTabs
-
-
- 2
-
-
- 4, 22
-
-
- 722, 434
-
-
- 3
-
-
- Setup
-
-
- TabSetup
-
-
- System.Windows.Forms.TabPage, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- ConfigTabs
-
-
- 3
-
-
- 52, 18
-
-
- 278, 0
-
-
- 0, 0, 0, 0
-
-
- 0, 0
-
-
- 730, 460
-
-
- 62
-
-
- ConfigTabs
-
-
- System.Windows.Forms.TabControl, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- $this
-
-
- 2
-
0, 0
@@ -6372,7 +9120,7 @@ GDI+ = Enabled
BUT_rerequestparams
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
$this
@@ -6405,7 +9153,7 @@ GDI+ = Enabled
BUT_writePIDS
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
$this
@@ -6441,7 +9189,7 @@ GDI+ = Enabled
BUT_save
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
$this
@@ -6477,7 +9225,7 @@ GDI+ = Enabled
BUT_load
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
$this
@@ -6485,6 +9233,9 @@ GDI+ = Enabled
5
+
+ 17, 17
+
Bottom, Left
@@ -6507,7 +9258,7 @@ GDI+ = Enabled
BUT_compare
- ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ ArdupilotMega.MyButton, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
$this
@@ -6564,6 +9315,6 @@ GDI+ = Enabled
Configuration
- System.Windows.Forms.MyUserControl, ArdupilotMegaPlanner, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
+ System.Windows.Forms.MyUserControl, ArdupilotMegaPlanner, Version=1.1.4484.12593, Culture=neutral, PublicKeyToken=null
\ No newline at end of file
diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/FlightData.cs b/Tools/ArdupilotMegaPlanner/GCSViews/FlightData.cs
index fb77827749..38c680626d 100644
--- a/Tools/ArdupilotMegaPlanner/GCSViews/FlightData.cs
+++ b/Tools/ArdupilotMegaPlanner/GCSViews/FlightData.cs
@@ -1002,6 +1002,16 @@ namespace ArdupilotMega.GCSViews
private void BUT_loadtelem_Click(object sender, EventArgs e)
{
+ if (MainV2.comPort.logplaybackfile != null)
+ {
+ try
+ {
+ MainV2.comPort.logplaybackfile.Close();
+ MainV2.comPort.logplaybackfile = null;
+ }
+ catch { }
+ }
+
OpenFileDialog fd = new OpenFileDialog();
fd.AddExtension = true;
fd.Filter = "Ardupilot Telemtry log (*.tlog)|*.tlog|Mavlink Log (*.mavlog)|*.mavlog";
diff --git a/Tools/ArdupilotMegaPlanner/GCSViews/Simulation.cs b/Tools/ArdupilotMegaPlanner/GCSViews/Simulation.cs
index f5872fe2a3..179418b39f 100644
--- a/Tools/ArdupilotMegaPlanner/GCSViews/Simulation.cs
+++ b/Tools/ArdupilotMegaPlanner/GCSViews/Simulation.cs
@@ -12,7 +12,6 @@ using System.Runtime.InteropServices; // dll imports
using log4net;
using ZedGraph; // Graphs
using ArdupilotMega;
-using ArdupilotMega.Mavlink;
using System.Reflection;
using System.Drawing.Drawing2D;
diff --git a/Tools/ArdupilotMegaPlanner/HIL/QuadCopter.cs b/Tools/ArdupilotMegaPlanner/HIL/QuadCopter.cs
index 98d32185e9..e3a2e5fa00 100644
--- a/Tools/ArdupilotMegaPlanner/HIL/QuadCopter.cs
+++ b/Tools/ArdupilotMegaPlanner/HIL/QuadCopter.cs
@@ -207,7 +207,7 @@ namespace ArdupilotMega.HIL
delta_time = new TimeSpan(0, 0, 0, 0, 20);
}
- // rotational acceleration, in degrees/s/s, in body frame
+ // rotational acceleration, in degrees/s/s, in body frame
double roll_accel = 0.0;
double pitch_accel = 0.0;
double yaw_accel = 0.0;
@@ -228,7 +228,7 @@ namespace ArdupilotMega.HIL
thrust += m[i] * self.thrust_scale; // newtons
}
- // rotational resistance
+ // rotational resistance
roll_accel -= (self.pDeg / self.terminal_rotation_rate) * 5000.0;
pitch_accel -= (self.qDeg / self.terminal_rotation_rate) * 5000.0;
yaw_accel -= (self.rDeg / self.terminal_rotation_rate) * 400.0;
@@ -236,23 +236,23 @@ namespace ArdupilotMega.HIL
//Console.WriteLine("roll {0} {1} {2}", roll_accel, roll_rate, roll);
//# update rotational rates in body frame
- self.pDeg += roll_accel * delta_time.TotalSeconds;
- self.qDeg += pitch_accel * delta_time.TotalSeconds;
- self.rDeg += yaw_accel * delta_time.TotalSeconds;
+ self.pDeg += roll_accel * delta_time.TotalSeconds;
+ self.qDeg += pitch_accel * delta_time.TotalSeconds;
+ self.rDeg += yaw_accel * delta_time.TotalSeconds;
// Console.WriteLine("roll {0} {1} {2}", roll_accel, roll_rate, roll);
- // calculate rates in earth frame
-
- var answer = BodyRatesToEarthRates(self.roll, self.pitch, self.yaw,
- self.pDeg, self.qDeg, self.rDeg);
- self.roll_rate = answer.Item1;
- self.pitch_rate = answer.Item2;
- self.yaw_rate = answer.Item3;
-
- //self.roll_rate = pDeg;
- //self.pitch_rate = qDeg;
- //self.yaw_rate = rDeg;
+ // calculate rates in earth frame
+
+ var answer = BodyRatesToEarthRates(self.roll, self.pitch, self.yaw,
+ self.pDeg, self.qDeg, self.rDeg);
+ self.roll_rate = answer.Item1;
+ self.pitch_rate = answer.Item2;
+ self.yaw_rate = answer.Item3;
+
+ //self.roll_rate = pDeg;
+ //self.pitch_rate = qDeg;
+ //self.yaw_rate = rDeg;
//# update rotation
roll += roll_rate * delta_time.TotalSeconds;
@@ -342,9 +342,9 @@ namespace ArdupilotMega.HIL
att.roll = (float)roll * deg2rad;
att.pitch = (float)pitch * deg2rad;
att.yaw = (float)yaw * deg2rad;
- att.rollspeed = (float)roll_rate *deg2rad;
- att.pitchspeed = (float)pitch_rate *deg2rad;
- att.yawspeed = (float)yaw_rate *deg2rad;
+ att.rollspeed = (float)roll_rate * deg2rad;
+ att.pitchspeed = (float)pitch_rate * deg2rad;
+ att.yawspeed = (float)yaw_rate * deg2rad;
#if MAVLINK10
diff --git a/Tools/ArdupilotMegaPlanner/MAVLink.cs b/Tools/ArdupilotMegaPlanner/MAVLink.cs
index f608a218e5..7f50841193 100644
--- a/Tools/ArdupilotMegaPlanner/MAVLink.cs
+++ b/Tools/ArdupilotMegaPlanner/MAVLink.cs
@@ -11,7 +11,6 @@ using System.IO;
using System.Drawing;
using System.Threading;
using ArdupilotMega.Controls;
-using ArdupilotMega.Mavlink;
using System.ComponentModel;
using log4net;
@@ -1921,12 +1920,12 @@ namespace ArdupilotMega
if (Common.translateMode(modein, ref navmode, ref mode))
{
- MainV2.comPort.generatePacket((byte)MAVLink.MAVLINK_MSG_ID_SET_NAV_MODE, navmode);
- System.Threading.Thread.Sleep(10);
MainV2.comPort.generatePacket((byte)MAVLink.MAVLINK_MSG_ID_SET_NAV_MODE, navmode);
System.Threading.Thread.Sleep(10);
MainV2.comPort.generatePacket((byte)MAVLink.MAVLINK_MSG_ID_SET_MODE, mode);
System.Threading.Thread.Sleep(10);
+ MainV2.comPort.generatePacket((byte)MAVLink.MAVLINK_MSG_ID_SET_NAV_MODE, navmode);
+ System.Threading.Thread.Sleep(10);
MainV2.comPort.generatePacket((byte)MAVLink.MAVLINK_MSG_ID_SET_MODE, mode);
}
}
diff --git a/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkCRC.cs b/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkCRC.cs
index 93f50fb691..e04edfbe6a 100644
--- a/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkCRC.cs
+++ b/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkCRC.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
-namespace ArdupilotMega.Mavlink
+namespace ArdupilotMega
{
class MavlinkCRC
{
diff --git a/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkUtil.cs b/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkUtil.cs
index 6d52ec3f3e..7bca2468b0 100644
--- a/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkUtil.cs
+++ b/Tools/ArdupilotMegaPlanner/Mavlink/MavlinkUtil.cs
@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
using System.Text;
using log4net;
-namespace ArdupilotMega.Mavlink
+namespace ArdupilotMega
{
///
/// Static methods and helpers for creation and manipulation of Mavlink packets
diff --git a/Tools/ArdupilotMegaPlanner/MavlinkLog.cs b/Tools/ArdupilotMegaPlanner/MavlinkLog.cs
index 2f1a7a8c8f..681968f35e 100644
--- a/Tools/ArdupilotMegaPlanner/MavlinkLog.cs
+++ b/Tools/ArdupilotMegaPlanner/MavlinkLog.cs
@@ -26,6 +26,8 @@ using System.Xml;
using log4net;
using ZedGraph; // Graphs
+using System.CodeDom.Compiler;
+
namespace ArdupilotMega
{
public partial class MavlinkLog : Form
@@ -35,8 +37,10 @@ namespace ArdupilotMega
List flightdata = new List();
List selection = new List();
+ List options = new List();
- Hashtable data = new Hashtable();
+ Hashtable datappl = new Hashtable();
+ Hashtable packetdata = new Hashtable();
PointLatLngAlt homepos = new PointLatLngAlt();
@@ -620,148 +624,6 @@ namespace ArdupilotMega
0xE00000,0x00E000,0x0000E0,0xE0E000,0xE000E0,0x00E0E0,0xE0E0E0,
};
-
- private void GetLogFileData(ZedGraphControl zg1, string logfile, List lookforfields)
- {
- if (zg1 == null)
- return;
-
- if (lookforfields != null && lookforfields.Count == 0)
- return;
-
- PointPairList[] lists = new PointPairList[lookforfields.Count];
-
- Random rand = new Random();
-
- // setup arrays
- for (int a = 0; a < lookforfields.Count; a++)
- {
- lists[a] = new PointPairList();
- }
-
- {
-
- MAVLink MavlinkInterface = new MAVLink();
- MavlinkInterface.logplaybackfile = new BinaryReader(File.Open(logfile, FileMode.Open, FileAccess.Read, FileShare.Read));
- MavlinkInterface.logreadmode = true;
-
- MavlinkInterface.packets.Initialize(); // clear
-
- int appui = 0;
-
- // to get first packet time
- MavlinkInterface.readPacket();
-
- DateTime startlogtime = MavlinkInterface.lastlogread;
-
- while (MavlinkInterface.logplaybackfile.BaseStream.Position < MavlinkInterface.logplaybackfile.BaseStream.Length)
- {
- progressBar1.Value = (int)((float)MavlinkInterface.logplaybackfile.BaseStream.Position / (float)MavlinkInterface.logplaybackfile.BaseStream.Length * 100.0f);
- progressBar1.Refresh();
-
- byte[] packet = MavlinkInterface.readPacket();
-
- object data = MavlinkInterface.DebugPacket(packet, false);
-
- Type test = data.GetType();
-
- foreach (var field in test.GetFields())
- {
- // field.Name has the field's name.
-
- object fieldValue = field.GetValue(data); // Get value
-
- if (field.FieldType.IsArray)
- {
-
- }
- else
- {
- string currentitem = field.Name + " " + field.DeclaringType.Name;
- int a = 0;
- foreach (var lookforfield in lookforfields)
- {
-
- if (currentitem == lookforfield)
- {
- object value = field.GetValue(data);
- // seconds scale
- double time = (MavlinkInterface.lastlogread - startlogtime).TotalMilliseconds / 1000.0;
-
- if (value.GetType() == typeof(Single))
- {
- lists[a].Add(time, (Single)field.GetValue(data));
- }
- else if (value.GetType() == typeof(short))
- {
- lists[a].Add(time, (short)field.GetValue(data));
- }
- else if (value.GetType() == typeof(ushort))
- {
- lists[a].Add(time, (ushort)field.GetValue(data));
- }
- else if (value.GetType() == typeof(byte))
- {
- lists[a].Add(time, (byte)field.GetValue(data));
- }
- else if (value.GetType() == typeof(Int32))
- {
- lists[a].Add(time, (Int32)field.GetValue(data));
- }
- }
- a++;
- }
- }
- }
-
- if (appui != DateTime.Now.Second)
- {
- // cant do entire app as mixes with flightdata timer
- this.Refresh();
- appui = DateTime.Now.Second;
- }
- }
-
- MavlinkInterface.logreadmode = false;
- MavlinkInterface.logplaybackfile.Close();
- MavlinkInterface.logplaybackfile = null;
-
-
- //writeKML(logfile + ".kml");
-
- progressBar1.Value = 100;
- }
-
- int step = 0;
-
- zg1.GraphPane.AddY2Axis("PWM");
- zg1.GraphPane.AddY2Axis("Angle");
-
- //zg1.GraphPane.XAxis.Title.Text = "Seconds";
-
- // setup display and arrays
- for (int a = 0; a < lookforfields.Count; a++)
- {
- LineItem myCurve;
-
- int colorvalue = ColourValues[step % ColourValues.Length];
- step++;
-
- myCurve = zg1.GraphPane.AddCurve(lookforfields[a].Replace("mavlink_", ""), lists[a], Color.FromArgb(unchecked(colorvalue + (int)0xff000000)), SymbolType.None);
-
- double xMin, xMax, yMin, yMax;
-
- myCurve.GetRange(out xMin, out xMax, out yMin, out yMax, true, false, zg1.GraphPane);
-
- if (yMin > 900 && yMax < 2100)
- {
- myCurve.IsY2Axis = true;
- myCurve.YAxisIndex = 0;
- zg1.GraphPane.Y2Axis.IsVisible = true;
- }
- }
- }
-
private List GetLogFileValidFields(string logfile)
{
Form selectform = SelectDataToGraphForm();
@@ -770,9 +632,10 @@ namespace ArdupilotMega
selection = new List();
- List options = new List();
+ options = new List();
- this.data.Clear();
+ this.datappl.Clear();
+ this.packetdata.Clear();
colorStep = 0;
@@ -812,6 +675,22 @@ namespace ArdupilotMega
Type test = data.GetType();
+
+ if (true) {
+ string packetname = test.Name.Replace("mavlink_", "").Replace("_t", "").ToUpper();
+
+ if (!packetdata.ContainsKey(packetname))
+ {
+ packetdata[packetname] = new Dictionary();
+ }
+
+ Dictionary temp = (Dictionary)packetdata[packetname];
+
+ double time = (MavlinkInterface.lastlogread - startlogtime).TotalMilliseconds / 1000.0;
+
+ temp[time] = data;
+ }
+
foreach (var field in test.GetFields())
{
// field.Name has the field's name.
@@ -831,10 +710,10 @@ namespace ArdupilotMega
options.Add(field.DeclaringType.Name + "." + field.Name);
}
- if (!this.data.ContainsKey(field.Name + " " + field.DeclaringType.Name))
- this.data[field.Name + " " + field.DeclaringType.Name] = new PointPairList();
+ if (!this.datappl.ContainsKey(field.Name + " " + field.DeclaringType.Name))
+ this.datappl[field.Name + " " + field.DeclaringType.Name] = new PointPairList();
- PointPairList list = ((PointPairList)this.data[field.Name + " " + field.DeclaringType.Name]);
+ PointPairList list = ((PointPairList)this.datappl[field.Name + " " + field.DeclaringType.Name]);
object value = fieldValue;
// seconds scale
@@ -860,6 +739,14 @@ namespace ArdupilotMega
{
list.Add(time, (Int32)field.GetValue(data));
}
+ else if (value.GetType() == typeof(ulong))
+ {
+ list.Add(time, (ulong)field.GetValue(data));
+ }
+ else
+ {
+
+ }
}
}
}
@@ -871,9 +758,12 @@ namespace ArdupilotMega
try
{
- addMagField(ref options);
+ dospecial("GPS_RAW");
- addDistHome(ref options);
+
+ addMagField();
+
+ addDistHome();
}
catch (Exception ex) { log.Info(ex.ToString()); }
@@ -901,42 +791,143 @@ namespace ArdupilotMega
return selection;
}
+ public static T Cast(object o)
+ {
+ return (T)o;
+ }
+
void dospecial(string PacketName)
{
- string test = @"0; float test = (float)Sin(55) + 10;
-test += (float)sin(45);
-return test;
+ Dictionary temp = null;
+
+ try
+ {
+ temp = (Dictionary)packetdata[PacketName];
+ }
+ catch
+ {
+ CustomMessageBox.Show("Bad PacketName");
+ return;
+ }
+
+ string code = @"
+
+ public double stage(object inp) {
+ return getAltAboveHome((MAVLink.mavlink_gps_raw_t) inp);
+ }
+
+ public double getAltAboveHome(MAVLink.mavlink_gps_raw_t gps)
+ {
+ if (customforusenumber == -1 && gps.fix_type != 2)
+ customforusenumber = gps.alt;
+
+ return gps.alt - customforusenumber;
+ }
";
- object answer = CodeGen.runCode(test);
+ // build the class using codedom
+ CodeGen.BuildClass(code);
+
+ // compile the class into an in-memory assembly.
+ // if it doesn't compile, show errors in the window
+ CompilerResults results = CodeGen.CompileAssembly();
+
+ if (results != null && results.CompiledAssembly != null)
+ {
+ string field = "Custom Custom"; // reverse bellow
+
+ options.Add("Custom.Custom");
+
+ this.datappl[field] = new PointPairList();
+
+
+
+ MethodInfo mi = RunCode(results);
+
+
+ // from here
+ PointPairList result = (PointPairList)this.datappl[field];
+
+ object assemblyInstance = results.CompiledAssembly.CreateInstance("ExpressionEvaluator.Calculator");
+
+ foreach (double time in temp.Keys)
+ {
+ result.Add(time, (double)mi.Invoke(assemblyInstance, new object[] { temp[time] }));
+ }
+ }
+ else
+ {
+ CustomMessageBox.Show("Compile Failed");
+ return;
+ }
+
+ object answer = CodeGen.runCode(code);
Console.WriteLine(answer);
}
+ public MethodInfo RunCode(CompilerResults results)
+ {
+ Assembly executingAssembly = results.CompiledAssembly;
+ try
+ {
+ //cant call the entry method if the assembly is null
+ if (executingAssembly != null)
+ {
+ object assemblyInstance = executingAssembly.CreateInstance("ExpressionEvaluator.Calculator");
+ //Use reflection to call the static Main function
+
+ Module[] modules = executingAssembly.GetModules(false);
+ Type[] types = modules[0].GetTypes();
+
+ //loop through each class that was defined and look for the first occurrance of the entry point method
+ foreach (Type type in types)
+ {
+ MethodInfo[] mis = type.GetMethods();
+ foreach (MethodInfo mi in mis)
+ {
+ if (mi.Name == "stage")
+ {
+ return mi;
+ //object result = mi.Invoke(assemblyInstance, null);
+ //return result.ToString();
+ }
+ }
+ }
+
+ }
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("Error: An exception occurred while executing the script", ex);
+ }
+ return null;
+ }
+
PointPairList GetValuesForField(string name)
{
// eg RAW_IMU.xmag to "xmag mavlink_raw_imu_t"
string[] items = name.ToLower().Split(new char[] {'.',' '});
- PointPairList list = ((PointPairList)this.data[items[1] + " mavlink_" + items[0] + "_t"]);
+ PointPairList list = ((PointPairList)this.datappl[items[1] + " mavlink_" + items[0] + "_t"]);
return list;
}
- void addMagField(ref List options)
+ void addMagField()
{
string field = "mag_field Custom";
options.Add("Custom.mag_field");
- this.data[field] = new PointPairList();
+ this.datappl[field] = new PointPairList();
- PointPairList list = ((PointPairList)this.data[field]);
+ PointPairList list = ((PointPairList)this.datappl[field]);
- PointPairList listx = ((PointPairList)this.data["xmag mavlink_raw_imu_t"]);
- PointPairList listy = ((PointPairList)this.data["ymag mavlink_raw_imu_t"]);
- PointPairList listz = ((PointPairList)this.data["zmag mavlink_raw_imu_t"]);
+ PointPairList listx = ((PointPairList)this.datappl["xmag mavlink_raw_imu_t"]);
+ PointPairList listy = ((PointPairList)this.datappl["ymag mavlink_raw_imu_t"]);
+ PointPairList listz = ((PointPairList)this.datappl["zmag mavlink_raw_imu_t"]);
//(float)Math.Sqrt(Math.Pow(mx, 2) + Math.Pow(my, 2) + Math.Pow(mz, 2));
@@ -951,22 +942,22 @@ return test;
}
}
- void addDistHome(ref List options)
+ void addDistHome()
{
string field = "dist_home Custom";
options.Add("Custom.dist_home");
- this.data[field] = new PointPairList();
+ this.datappl[field] = new PointPairList();
PointLatLngAlt home = new PointLatLngAlt();
- PointPairList list = ((PointPairList)this.data[field]);
+ PointPairList list = ((PointPairList)this.datappl[field]);
- PointPairList listfix = ((PointPairList)this.data["fix_type mavlink_gps_raw_t"]);
- PointPairList listx = ((PointPairList)this.data["lat mavlink_gps_raw_t"]);
- PointPairList listy = ((PointPairList)this.data["lon mavlink_gps_raw_t"]);
- PointPairList listz = ((PointPairList)this.data["alt mavlink_gps_raw_t"]);
+ PointPairList listfix = ((PointPairList)this.datappl["fix_type mavlink_gps_raw_t"]);
+ PointPairList listx = ((PointPairList)this.datappl["lat mavlink_gps_raw_t"]);
+ PointPairList listy = ((PointPairList)this.datappl["lon mavlink_gps_raw_t"]);
+ PointPairList listz = ((PointPairList)this.datappl["alt mavlink_gps_raw_t"]);
for (int a = 0; a < listfix.Count; a++)
{
@@ -1079,7 +1070,7 @@ return test;
int colorvalue = ColourValues[colorStep % ColourValues.Length];
colorStep++;
- myCurve = zg1.GraphPane.AddCurve(((CheckBox)sender).Name.Replace("mavlink_", ""), (PointPairList)data[((CheckBox)sender).Name], Color.FromArgb(unchecked(colorvalue + (int)0xff000000)), SymbolType.None);
+ myCurve = zg1.GraphPane.AddCurve(((CheckBox)sender).Name.Replace("mavlink_", ""), (PointPairList)datappl[((CheckBox)sender).Name], Color.FromArgb(unchecked(colorvalue + (int)0xff000000)), SymbolType.None);
myCurve.Tag = ((CheckBox)sender).Name;
@@ -1087,7 +1078,7 @@ return test;
myCurve.Tag.ToString() == "pitch mavlink_attitude_t" ||
myCurve.Tag.ToString() == "yaw mavlink_attitude_t")
{
- PointPairList ppl = new PointPairList((PointPairList)data[((CheckBox)sender).Name]);
+ PointPairList ppl = new PointPairList((PointPairList)datappl[((CheckBox)sender).Name]);
for (int a = 0; a < ppl.Count; a++)
{
ppl[a].Y = ppl[a].Y * (180.0 / Math.PI);
diff --git a/Tools/ArdupilotMegaPlanner/Msi/installer.wxs b/Tools/ArdupilotMegaPlanner/Msi/installer.wxs
index b30f164d29..57a77bc341 100644
--- a/Tools/ArdupilotMegaPlanner/Msi/installer.wxs
+++ b/Tools/ArdupilotMegaPlanner/Msi/installer.wxs
@@ -31,7 +31,7 @@
-
+
@@ -85,11 +85,11 @@
-
+
-
+
@@ -100,20 +100,20 @@
-
+
-
+
-
+
@@ -127,7 +127,7 @@
-
+
@@ -139,13 +139,13 @@
-
+
-
+
@@ -153,7 +153,7 @@
-
+
@@ -171,7 +171,7 @@
-
+
@@ -186,34 +186,34 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -221,12 +221,12 @@
-
+
-
+
@@ -234,17 +234,17 @@
-
+
-
+
-
+
diff --git a/Tools/ArdupilotMegaPlanner/Msi/wix.pdb b/Tools/ArdupilotMegaPlanner/Msi/wix.pdb
index 8b1508c412..25a406bac4 100644
Binary files a/Tools/ArdupilotMegaPlanner/Msi/wix.pdb and b/Tools/ArdupilotMegaPlanner/Msi/wix.pdb differ
diff --git a/Tools/ArdupilotMegaPlanner/Program.cs b/Tools/ArdupilotMegaPlanner/Program.cs
index c6fbd5b9e1..30489f682f 100644
--- a/Tools/ArdupilotMegaPlanner/Program.cs
+++ b/Tools/ArdupilotMegaPlanner/Program.cs
@@ -53,6 +53,8 @@ namespace ArdupilotMega
{
log.Fatal("Fatal app exception",ex);
Console.WriteLine(ex.ToString());
+
+ Console.ReadLine();
}
}
diff --git a/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs b/Tools/ArdupilotMegaPlanner/Properties/AssemblyInfo.cs
index 7812b3088e..d79f36b40f 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.1.*")]
-[assembly: AssemblyFileVersion("1.1.63")]
+[assembly: AssemblyFileVersion("1.1.64")]
[assembly: NeutralResourcesLanguageAttribute("")]
diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb
index e4daac93fa..5a6867043d 100644
Binary files a/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb and b/Tools/ArdupilotMegaPlanner/bin/Release/ArdupilotMegaPlanner.pdb differ
diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/config.xml b/Tools/ArdupilotMegaPlanner/bin/Release/config.xml
deleted file mode 100644
index 6260c24fe0..0000000000
--- a/Tools/ArdupilotMegaPlanner/bin/Release/config.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
- COM18
- 115200
- ArduPlane
- True
- 417
- roll|pitch|nav_roll|nav_pitch|
- 200
- 94
- Normal
- 115200
- 575
- 203
- 1024
-
\ No newline at end of file
diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml b/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml
index 973da2116f..d7da77e2d0 100644
--- a/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml
+++ b/Tools/ArdupilotMegaPlanner/bin/Release/dataflashlog.xml
@@ -277,6 +277,22 @@
Output
Gain
+
+ Err
+ P
+ I
+ D
+ Output
+ Gain
+
+
+ Err
+ P
+ I
+ D
+ Output
+ Gain
+
diff --git a/Tools/ArdupilotMegaPlanner/bin/Release/version.txt b/Tools/ArdupilotMegaPlanner/bin/Release/version.txt
index e54e3f6834..29be746b7a 100644
--- a/Tools/ArdupilotMegaPlanner/bin/Release/version.txt
+++ b/Tools/ArdupilotMegaPlanner/bin/Release/version.txt
@@ -1 +1 @@
-1.1.4482.15190
\ No newline at end of file
+1.1.4485.13801
\ No newline at end of file
diff --git a/Tools/ArdupilotMegaPlanner/dataflashlog.xml b/Tools/ArdupilotMegaPlanner/dataflashlog.xml
index 973da2116f..d7da77e2d0 100644
--- a/Tools/ArdupilotMegaPlanner/dataflashlog.xml
+++ b/Tools/ArdupilotMegaPlanner/dataflashlog.xml
@@ -277,6 +277,22 @@
Output
Gain
+
+ Err
+ P
+ I
+ D
+ Output
+ Gain
+
+
+ Err
+ P
+ I
+ D
+ Output
+ Gain
+