1244 lines
57 KiB
C#
1244 lines
57 KiB
C#
namespace WindowsFormsApp1
|
|
{
|
|
partial class MainForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
|
|
System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
|
|
this.groupBox_Connect = new System.Windows.Forms.GroupBox();
|
|
this.checkBox_Save = new System.Windows.Forms.CheckBox();
|
|
this.comboBox_Port = new System.Windows.Forms.ComboBox();
|
|
this.textBox_Count = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.textBox_Error = new System.Windows.Forms.TextBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.button_Connect = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.chart_Graph = new System.Windows.Forms.DataVisualization.Charting.Chart();
|
|
this.serialPort_COM = new System.IO.Ports.SerialPort(this.components);
|
|
this.timer_Tick = new System.Windows.Forms.Timer(this.components);
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.checkedListBox_Series = new System.Windows.Forms.CheckedListBox();
|
|
this.panel2 = new System.Windows.Forms.Panel();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.checkBox_AutoY = new System.Windows.Forms.CheckBox();
|
|
this.numericUpDown_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Graph_MinY = new System.Windows.Forms.NumericUpDown();
|
|
this.button_Color = new System.Windows.Forms.Button();
|
|
this.label24 = new System.Windows.Forms.Label();
|
|
this.checkBox_Track = new System.Windows.Forms.CheckBox();
|
|
this.label23 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_Graph_MaxY = new System.Windows.Forms.NumericUpDown();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.panel_PID = new System.Windows.Forms.Panel();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_PID_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.label21 = new System.Windows.Forms.Label();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label20 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_P_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_P_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_P_Value = new System.Windows.Forms.NumericUpDown();
|
|
this.label19 = new System.Windows.Forms.Label();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.label18 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_I_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.label17 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_I_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.label16 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_I_Value = new System.Windows.Forms.NumericUpDown();
|
|
this.label15 = new System.Windows.Forms.Label();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.label14 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_PID_D_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_D_Value = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_PID_D_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_D_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_PID_D_Value = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_D_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.label13 = new System.Windows.Forms.Label();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.numericUpDown_Yaw_P_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_I_Value = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_P_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_I_Max = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_P_Value = new System.Windows.Forms.NumericUpDown();
|
|
this.numericUpDown_Yaw_I_Min = new System.Windows.Forms.NumericUpDown();
|
|
this.label12 = new System.Windows.Forms.Label();
|
|
this.label_PID_State = new System.Windows.Forms.Label();
|
|
this.button_PID_Write = new System.Windows.Forms.Button();
|
|
this.button_PID_Read = new System.Windows.Forms.Button();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.colorDialog_Color = new System.Windows.Forms.ColorDialog();
|
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.folderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
this.openFileDialog_Open = new System.Windows.Forms.OpenFileDialog();
|
|
this.panel_GraphX = new System.Windows.Forms.Panel();
|
|
this.trackBar_GraphX_Down = new System.Windows.Forms.TrackBar();
|
|
this.panel_GraphY = new System.Windows.Forms.Panel();
|
|
this.trackBar_GraphY_Right = new System.Windows.Forms.TrackBar();
|
|
this.trackBar_GraphY_Left = new System.Windows.Forms.TrackBar();
|
|
this.groupBox_Connect.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.chart_Graph)).BeginInit();
|
|
this.groupBox2.SuspendLayout();
|
|
this.panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Graph_MinY)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Graph_MaxY)).BeginInit();
|
|
this.groupBox3.SuspendLayout();
|
|
this.panel_PID.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_P_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_P_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_P_Value)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_I_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_I_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_I_Value)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_D_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_D_Value)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_D_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_D_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_D_Value)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_D_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_P_Min)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_I_Value)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_P_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_I_Max)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_P_Value)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_I_Min)).BeginInit();
|
|
this.panel1.SuspendLayout();
|
|
this.menuStrip1.SuspendLayout();
|
|
this.panel_GraphX.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.trackBar_GraphX_Down)).BeginInit();
|
|
this.panel_GraphY.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.trackBar_GraphY_Right)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.trackBar_GraphY_Left)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBox_Connect
|
|
//
|
|
this.groupBox_Connect.Controls.Add(this.checkBox_Save);
|
|
this.groupBox_Connect.Controls.Add(this.comboBox_Port);
|
|
this.groupBox_Connect.Controls.Add(this.textBox_Count);
|
|
this.groupBox_Connect.Controls.Add(this.label3);
|
|
this.groupBox_Connect.Controls.Add(this.textBox_Error);
|
|
this.groupBox_Connect.Controls.Add(this.label2);
|
|
this.groupBox_Connect.Controls.Add(this.button_Connect);
|
|
this.groupBox_Connect.Controls.Add(this.label1);
|
|
this.groupBox_Connect.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.groupBox_Connect.Location = new System.Drawing.Point(0, 0);
|
|
this.groupBox_Connect.Name = "groupBox_Connect";
|
|
this.groupBox_Connect.Size = new System.Drawing.Size(213, 104);
|
|
this.groupBox_Connect.TabIndex = 0;
|
|
this.groupBox_Connect.TabStop = false;
|
|
this.groupBox_Connect.Text = " Link ";
|
|
//
|
|
// checkBox_Save
|
|
//
|
|
this.checkBox_Save.AutoSize = true;
|
|
this.checkBox_Save.Location = new System.Drawing.Point(127, 47);
|
|
this.checkBox_Save.Name = "checkBox_Save";
|
|
this.checkBox_Save.Size = new System.Drawing.Size(80, 17);
|
|
this.checkBox_Save.TabIndex = 8;
|
|
this.checkBox_Save.Text = "SaveTelem";
|
|
this.checkBox_Save.UseVisualStyleBackColor = true;
|
|
this.checkBox_Save.CheckedChanged += new System.EventHandler(this.checkBox_Save_CheckedChanged);
|
|
//
|
|
// comboBox_Port
|
|
//
|
|
this.comboBox_Port.FormattingEnabled = true;
|
|
this.comboBox_Port.Location = new System.Drawing.Point(32, 13);
|
|
this.comboBox_Port.Name = "comboBox_Port";
|
|
this.comboBox_Port.Size = new System.Drawing.Size(59, 21);
|
|
this.comboBox_Port.TabIndex = 7;
|
|
this.comboBox_Port.DropDown += new System.EventHandler(this.comboBox_Port_DropDown);
|
|
//
|
|
// textBox_Count
|
|
//
|
|
this.textBox_Count.Location = new System.Drawing.Point(52, 45);
|
|
this.textBox_Count.Name = "textBox_Count";
|
|
this.textBox_Count.ReadOnly = true;
|
|
this.textBox_Count.Size = new System.Drawing.Size(63, 20);
|
|
this.textBox_Count.TabIndex = 6;
|
|
this.textBox_Count.Text = "0";
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 48);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(41, 13);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "Count=";
|
|
//
|
|
// textBox_Error
|
|
//
|
|
this.textBox_Error.Location = new System.Drawing.Point(52, 71);
|
|
this.textBox_Error.Name = "textBox_Error";
|
|
this.textBox_Error.ReadOnly = true;
|
|
this.textBox_Error.Size = new System.Drawing.Size(63, 20);
|
|
this.textBox_Error.TabIndex = 4;
|
|
this.textBox_Error.Text = "0";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 74);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(40, 13);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "Errors=";
|
|
//
|
|
// button_Connect
|
|
//
|
|
this.button_Connect.Location = new System.Drawing.Point(97, 11);
|
|
this.button_Connect.Name = "button_Connect";
|
|
this.button_Connect.Size = new System.Drawing.Size(70, 23);
|
|
this.button_Connect.TabIndex = 2;
|
|
this.button_Connect.Text = "Connect";
|
|
this.button_Connect.UseVisualStyleBackColor = true;
|
|
this.button_Connect.Click += new System.EventHandler(this.button_Connect_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 16);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(29, 13);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "Port:";
|
|
//
|
|
// chart_Graph
|
|
//
|
|
chartArea2.AxisX.Maximum = 100D;
|
|
chartArea2.AxisX.Minimum = 0D;
|
|
chartArea2.Name = "ChartArea1";
|
|
this.chart_Graph.ChartAreas.Add(chartArea2);
|
|
this.chart_Graph.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
legend2.Name = "Legend1";
|
|
this.chart_Graph.Legends.Add(legend2);
|
|
this.chart_Graph.Location = new System.Drawing.Point(254, 24);
|
|
this.chart_Graph.Name = "chart_Graph";
|
|
this.chart_Graph.Size = new System.Drawing.Size(515, 507);
|
|
this.chart_Graph.TabIndex = 1;
|
|
this.chart_Graph.Text = "chart1";
|
|
//
|
|
// serialPort_COM
|
|
//
|
|
this.serialPort_COM.BaudRate = 57600;
|
|
this.serialPort_COM.PortName = "COM4";
|
|
this.serialPort_COM.ReadBufferSize = 128;
|
|
this.serialPort_COM.ReadTimeout = 1;
|
|
this.serialPort_COM.WriteTimeout = 1;
|
|
//
|
|
// timer_Tick
|
|
//
|
|
this.timer_Tick.Interval = 1;
|
|
this.timer_Tick.Tick += new System.EventHandler(this.timer_Tick_Tick);
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.checkedListBox_Series);
|
|
this.groupBox2.Controls.Add(this.panel2);
|
|
this.groupBox2.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.groupBox2.Location = new System.Drawing.Point(769, 24);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(132, 547);
|
|
this.groupBox2.TabIndex = 2;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = " Graph ";
|
|
//
|
|
// checkedListBox_Series
|
|
//
|
|
this.checkedListBox_Series.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.checkedListBox_Series.FormattingEnabled = true;
|
|
this.checkedListBox_Series.Location = new System.Drawing.Point(3, 16);
|
|
this.checkedListBox_Series.Name = "checkedListBox_Series";
|
|
this.checkedListBox_Series.Size = new System.Drawing.Size(126, 340);
|
|
this.checkedListBox_Series.TabIndex = 0;
|
|
this.checkedListBox_Series.SelectedIndexChanged += new System.EventHandler(this.checkedListBox_Series_SelectedIndexChanged);
|
|
this.checkedListBox_Series.DoubleClick += new System.EventHandler(this.checkedListBox_Series_SelectedIndexChanged);
|
|
//
|
|
// panel2
|
|
//
|
|
this.panel2.Controls.Add(this.label4);
|
|
this.panel2.Controls.Add(this.checkBox_AutoY);
|
|
this.panel2.Controls.Add(this.numericUpDown_Min);
|
|
this.panel2.Controls.Add(this.numericUpDown_Graph_MinY);
|
|
this.panel2.Controls.Add(this.button_Color);
|
|
this.panel2.Controls.Add(this.label24);
|
|
this.panel2.Controls.Add(this.checkBox_Track);
|
|
this.panel2.Controls.Add(this.label23);
|
|
this.panel2.Controls.Add(this.numericUpDown_Graph_MaxY);
|
|
this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.panel2.Location = new System.Drawing.Point(3, 356);
|
|
this.panel2.Name = "panel2";
|
|
this.panel2.Size = new System.Drawing.Size(126, 188);
|
|
this.panel2.TabIndex = 14;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(3, 12);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(38, 13);
|
|
this.label4.TabIndex = 4;
|
|
this.label4.Text = "Len X:";
|
|
//
|
|
// checkBox_AutoY
|
|
//
|
|
this.checkBox_AutoY.AutoSize = true;
|
|
this.checkBox_AutoY.Checked = true;
|
|
this.checkBox_AutoY.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.checkBox_AutoY.Location = new System.Drawing.Point(6, 148);
|
|
this.checkBox_AutoY.Name = "checkBox_AutoY";
|
|
this.checkBox_AutoY.Size = new System.Drawing.Size(58, 17);
|
|
this.checkBox_AutoY.TabIndex = 13;
|
|
this.checkBox_AutoY.Text = "Auto Y";
|
|
this.checkBox_AutoY.UseVisualStyleBackColor = true;
|
|
this.checkBox_AutoY.CheckedChanged += new System.EventHandler(this.checkBox_AutoY_CheckedChanged);
|
|
//
|
|
// numericUpDown_Min
|
|
//
|
|
this.numericUpDown_Min.Location = new System.Drawing.Point(46, 10);
|
|
this.numericUpDown_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Min.Minimum = new decimal(new int[] {
|
|
1,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Min.Name = "numericUpDown_Min";
|
|
this.numericUpDown_Min.Size = new System.Drawing.Size(75, 20);
|
|
this.numericUpDown_Min.TabIndex = 5;
|
|
this.numericUpDown_Min.Value = new decimal(new int[] {
|
|
10,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Min.ValueChanged += new System.EventHandler(this.numericUpDown_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Graph_MinY
|
|
//
|
|
this.numericUpDown_Graph_MinY.Enabled = false;
|
|
this.numericUpDown_Graph_MinY.Location = new System.Drawing.Point(46, 122);
|
|
this.numericUpDown_Graph_MinY.Maximum = new decimal(new int[] {
|
|
32000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Graph_MinY.Minimum = new decimal(new int[] {
|
|
32000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Graph_MinY.Name = "numericUpDown_Graph_MinY";
|
|
this.numericUpDown_Graph_MinY.Size = new System.Drawing.Size(75, 20);
|
|
this.numericUpDown_Graph_MinY.TabIndex = 12;
|
|
this.numericUpDown_Graph_MinY.Value = new decimal(new int[] {
|
|
5000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Graph_MinY.ValueChanged += new System.EventHandler(this.numericUpDown_Graph_MaxY_ValueChanged);
|
|
//
|
|
// button_Color
|
|
//
|
|
this.button_Color.Location = new System.Drawing.Point(3, 40);
|
|
this.button_Color.Name = "button_Color";
|
|
this.button_Color.Size = new System.Drawing.Size(118, 23);
|
|
this.button_Color.TabIndex = 6;
|
|
this.button_Color.Text = "Color";
|
|
this.button_Color.UseVisualStyleBackColor = true;
|
|
this.button_Color.Click += new System.EventHandler(this.button_Color_Click);
|
|
//
|
|
// label24
|
|
//
|
|
this.label24.AutoSize = true;
|
|
this.label24.Location = new System.Drawing.Point(6, 124);
|
|
this.label24.Name = "label24";
|
|
this.label24.Size = new System.Drawing.Size(37, 13);
|
|
this.label24.TabIndex = 11;
|
|
this.label24.Text = "Min Y:";
|
|
//
|
|
// checkBox_Track
|
|
//
|
|
this.checkBox_Track.AutoSize = true;
|
|
this.checkBox_Track.Location = new System.Drawing.Point(6, 69);
|
|
this.checkBox_Track.Name = "checkBox_Track";
|
|
this.checkBox_Track.Size = new System.Drawing.Size(54, 17);
|
|
this.checkBox_Track.TabIndex = 7;
|
|
this.checkBox_Track.Text = "Track";
|
|
this.checkBox_Track.UseVisualStyleBackColor = true;
|
|
this.checkBox_Track.CheckedChanged += new System.EventHandler(this.numericUpDown_Min_ValueChanged);
|
|
//
|
|
// label23
|
|
//
|
|
this.label23.AutoSize = true;
|
|
this.label23.Location = new System.Drawing.Point(3, 98);
|
|
this.label23.Name = "label23";
|
|
this.label23.Size = new System.Drawing.Size(40, 13);
|
|
this.label23.TabIndex = 9;
|
|
this.label23.Text = "Max Y:";
|
|
//
|
|
// numericUpDown_Graph_MaxY
|
|
//
|
|
this.numericUpDown_Graph_MaxY.Enabled = false;
|
|
this.numericUpDown_Graph_MaxY.Location = new System.Drawing.Point(46, 96);
|
|
this.numericUpDown_Graph_MaxY.Maximum = new decimal(new int[] {
|
|
32000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Graph_MaxY.Minimum = new decimal(new int[] {
|
|
32000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Graph_MaxY.Name = "numericUpDown_Graph_MaxY";
|
|
this.numericUpDown_Graph_MaxY.Size = new System.Drawing.Size(75, 20);
|
|
this.numericUpDown_Graph_MaxY.TabIndex = 8;
|
|
this.numericUpDown_Graph_MaxY.Value = new decimal(new int[] {
|
|
5000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Graph_MaxY.ValueChanged += new System.EventHandler(this.numericUpDown_Graph_MaxY_ValueChanged);
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.panel_PID);
|
|
this.groupBox3.Controls.Add(this.label_PID_State);
|
|
this.groupBox3.Controls.Add(this.button_PID_Write);
|
|
this.groupBox3.Controls.Add(this.button_PID_Read);
|
|
this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.groupBox3.Location = new System.Drawing.Point(0, 104);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(213, 312);
|
|
this.groupBox3.TabIndex = 3;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = " PID ";
|
|
//
|
|
// panel_PID
|
|
//
|
|
this.panel_PID.Controls.Add(this.label6);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_Min);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_Max);
|
|
this.panel_PID.Controls.Add(this.label21);
|
|
this.panel_PID.Controls.Add(this.label7);
|
|
this.panel_PID.Controls.Add(this.label20);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_P_Min);
|
|
this.panel_PID.Controls.Add(this.label10);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_P_Max);
|
|
this.panel_PID.Controls.Add(this.label5);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_P_Value);
|
|
this.panel_PID.Controls.Add(this.label19);
|
|
this.panel_PID.Controls.Add(this.label8);
|
|
this.panel_PID.Controls.Add(this.label18);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_I_Min);
|
|
this.panel_PID.Controls.Add(this.label17);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_I_Max);
|
|
this.panel_PID.Controls.Add(this.label16);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_I_Value);
|
|
this.panel_PID.Controls.Add(this.label15);
|
|
this.panel_PID.Controls.Add(this.label9);
|
|
this.panel_PID.Controls.Add(this.label14);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_D_Min);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_D_Value);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_D_Max);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_D_Max);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_PID_D_Value);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_D_Min);
|
|
this.panel_PID.Controls.Add(this.label13);
|
|
this.panel_PID.Controls.Add(this.label11);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_P_Min);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_I_Value);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_P_Max);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_I_Max);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_P_Value);
|
|
this.panel_PID.Controls.Add(this.numericUpDown_Yaw_I_Min);
|
|
this.panel_PID.Controls.Add(this.label12);
|
|
this.panel_PID.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this.panel_PID.Enabled = false;
|
|
this.panel_PID.Location = new System.Drawing.Point(3, 16);
|
|
this.panel_PID.Name = "panel_PID";
|
|
this.panel_PID.Size = new System.Drawing.Size(207, 262);
|
|
this.panel_PID.TabIndex = 4;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(3, 23);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(59, 13);
|
|
this.label6.TabIndex = 1;
|
|
this.label6.Text = "Global Lim:";
|
|
//
|
|
// numericUpDown_PID_Min
|
|
//
|
|
this.numericUpDown_PID_Min.Location = new System.Drawing.Point(65, 21);
|
|
this.numericUpDown_PID_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_Min.Name = "numericUpDown_PID_Min";
|
|
this.numericUpDown_PID_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_Min.TabIndex = 6;
|
|
this.numericUpDown_PID_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_PID_Max
|
|
//
|
|
this.numericUpDown_PID_Max.Location = new System.Drawing.Point(122, 21);
|
|
this.numericUpDown_PID_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_Max.Name = "numericUpDown_PID_Max";
|
|
this.numericUpDown_PID_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_Max.TabIndex = 7;
|
|
this.numericUpDown_PID_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label21
|
|
//
|
|
this.label21.AutoSize = true;
|
|
this.label21.Location = new System.Drawing.Point(150, 168);
|
|
this.label21.Name = "label21";
|
|
this.label21.Size = new System.Drawing.Size(33, 13);
|
|
this.label21.TabIndex = 40;
|
|
this.label21.Text = "value";
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(3, 80);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(17, 13);
|
|
this.label7.TabIndex = 8;
|
|
this.label7.Text = "P:";
|
|
//
|
|
// label20
|
|
//
|
|
this.label20.AutoSize = true;
|
|
this.label20.Location = new System.Drawing.Point(150, 62);
|
|
this.label20.Name = "label20";
|
|
this.label20.Size = new System.Drawing.Size(33, 13);
|
|
this.label20.TabIndex = 39;
|
|
this.label20.Text = "value";
|
|
//
|
|
// numericUpDown_PID_P_Min
|
|
//
|
|
this.numericUpDown_PID_P_Min.Location = new System.Drawing.Point(26, 78);
|
|
this.numericUpDown_PID_P_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_P_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_P_Min.Name = "numericUpDown_PID_P_Min";
|
|
this.numericUpDown_PID_P_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_P_Min.TabIndex = 9;
|
|
this.numericUpDown_PID_P_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label10
|
|
//
|
|
this.label10.AutoSize = true;
|
|
this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.label10.Location = new System.Drawing.Point(86, 156);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(31, 13);
|
|
this.label10.TabIndex = 20;
|
|
this.label10.Text = "Yaw";
|
|
//
|
|
// numericUpDown_PID_P_Max
|
|
//
|
|
this.numericUpDown_PID_P_Max.Location = new System.Drawing.Point(83, 78);
|
|
this.numericUpDown_PID_P_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_P_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_P_Max.Name = "numericUpDown_PID_P_Max";
|
|
this.numericUpDown_PID_P_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_P_Max.TabIndex = 10;
|
|
this.numericUpDown_PID_P_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
|
|
this.label5.Location = new System.Drawing.Point(70, 50);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(64, 13);
|
|
this.label5.TabIndex = 0;
|
|
this.label5.Text = "Pitch/Roll";
|
|
//
|
|
// numericUpDown_PID_P_Value
|
|
//
|
|
this.numericUpDown_PID_P_Value.DecimalPlaces = 3;
|
|
this.numericUpDown_PID_P_Value.Location = new System.Drawing.Point(140, 78);
|
|
this.numericUpDown_PID_P_Value.Name = "numericUpDown_PID_P_Value";
|
|
this.numericUpDown_PID_P_Value.Size = new System.Drawing.Size(64, 20);
|
|
this.numericUpDown_PID_P_Value.TabIndex = 11;
|
|
this.numericUpDown_PID_P_Value.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label19
|
|
//
|
|
this.label19.AutoSize = true;
|
|
this.label19.Location = new System.Drawing.Point(91, 168);
|
|
this.label19.Name = "label19";
|
|
this.label19.Size = new System.Drawing.Size(26, 13);
|
|
this.label19.TabIndex = 38;
|
|
this.label19.Text = "max";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(3, 106);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(13, 13);
|
|
this.label8.TabIndex = 12;
|
|
this.label8.Text = "I:";
|
|
//
|
|
// label18
|
|
//
|
|
this.label18.AutoSize = true;
|
|
this.label18.Location = new System.Drawing.Point(91, 62);
|
|
this.label18.Name = "label18";
|
|
this.label18.Size = new System.Drawing.Size(26, 13);
|
|
this.label18.TabIndex = 37;
|
|
this.label18.Text = "max";
|
|
//
|
|
// numericUpDown_PID_I_Min
|
|
//
|
|
this.numericUpDown_PID_I_Min.Location = new System.Drawing.Point(26, 104);
|
|
this.numericUpDown_PID_I_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_I_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_I_Min.Name = "numericUpDown_PID_I_Min";
|
|
this.numericUpDown_PID_I_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_I_Min.TabIndex = 13;
|
|
this.numericUpDown_PID_I_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label17
|
|
//
|
|
this.label17.AutoSize = true;
|
|
this.label17.Location = new System.Drawing.Point(39, 168);
|
|
this.label17.Name = "label17";
|
|
this.label17.Size = new System.Drawing.Size(23, 13);
|
|
this.label17.TabIndex = 36;
|
|
this.label17.Text = "min";
|
|
//
|
|
// numericUpDown_PID_I_Max
|
|
//
|
|
this.numericUpDown_PID_I_Max.Location = new System.Drawing.Point(83, 104);
|
|
this.numericUpDown_PID_I_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_I_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_I_Max.Name = "numericUpDown_PID_I_Max";
|
|
this.numericUpDown_PID_I_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_I_Max.TabIndex = 14;
|
|
this.numericUpDown_PID_I_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label16
|
|
//
|
|
this.label16.AutoSize = true;
|
|
this.label16.Location = new System.Drawing.Point(39, 62);
|
|
this.label16.Name = "label16";
|
|
this.label16.Size = new System.Drawing.Size(23, 13);
|
|
this.label16.TabIndex = 35;
|
|
this.label16.Text = "min";
|
|
//
|
|
// numericUpDown_PID_I_Value
|
|
//
|
|
this.numericUpDown_PID_I_Value.DecimalPlaces = 3;
|
|
this.numericUpDown_PID_I_Value.Location = new System.Drawing.Point(140, 104);
|
|
this.numericUpDown_PID_I_Value.Name = "numericUpDown_PID_I_Value";
|
|
this.numericUpDown_PID_I_Value.Size = new System.Drawing.Size(64, 20);
|
|
this.numericUpDown_PID_I_Value.TabIndex = 15;
|
|
this.numericUpDown_PID_I_Value.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label15
|
|
//
|
|
this.label15.AutoSize = true;
|
|
this.label15.Location = new System.Drawing.Point(137, 5);
|
|
this.label15.Name = "label15";
|
|
this.label15.Size = new System.Drawing.Size(26, 13);
|
|
this.label15.TabIndex = 34;
|
|
this.label15.Text = "max";
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(3, 132);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(18, 13);
|
|
this.label9.TabIndex = 16;
|
|
this.label9.Text = "D:";
|
|
//
|
|
// label14
|
|
//
|
|
this.label14.AutoSize = true;
|
|
this.label14.Location = new System.Drawing.Point(70, 5);
|
|
this.label14.Name = "label14";
|
|
this.label14.Size = new System.Drawing.Size(23, 13);
|
|
this.label14.TabIndex = 33;
|
|
this.label14.Text = "min";
|
|
//
|
|
// numericUpDown_PID_D_Min
|
|
//
|
|
this.numericUpDown_PID_D_Min.Location = new System.Drawing.Point(26, 130);
|
|
this.numericUpDown_PID_D_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_D_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_D_Min.Name = "numericUpDown_PID_D_Min";
|
|
this.numericUpDown_PID_D_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_D_Min.TabIndex = 17;
|
|
this.numericUpDown_PID_D_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_D_Value
|
|
//
|
|
this.numericUpDown_Yaw_D_Value.DecimalPlaces = 3;
|
|
this.numericUpDown_Yaw_D_Value.Location = new System.Drawing.Point(140, 236);
|
|
this.numericUpDown_Yaw_D_Value.Name = "numericUpDown_Yaw_D_Value";
|
|
this.numericUpDown_Yaw_D_Value.Size = new System.Drawing.Size(64, 20);
|
|
this.numericUpDown_Yaw_D_Value.TabIndex = 32;
|
|
this.numericUpDown_Yaw_D_Value.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_PID_D_Max
|
|
//
|
|
this.numericUpDown_PID_D_Max.Location = new System.Drawing.Point(83, 130);
|
|
this.numericUpDown_PID_D_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_PID_D_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_PID_D_Max.Name = "numericUpDown_PID_D_Max";
|
|
this.numericUpDown_PID_D_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_PID_D_Max.TabIndex = 18;
|
|
this.numericUpDown_PID_D_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_D_Max
|
|
//
|
|
this.numericUpDown_Yaw_D_Max.Location = new System.Drawing.Point(83, 236);
|
|
this.numericUpDown_Yaw_D_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Yaw_D_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Yaw_D_Max.Name = "numericUpDown_Yaw_D_Max";
|
|
this.numericUpDown_Yaw_D_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_Yaw_D_Max.TabIndex = 31;
|
|
this.numericUpDown_Yaw_D_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_PID_D_Value
|
|
//
|
|
this.numericUpDown_PID_D_Value.DecimalPlaces = 3;
|
|
this.numericUpDown_PID_D_Value.Location = new System.Drawing.Point(140, 130);
|
|
this.numericUpDown_PID_D_Value.Name = "numericUpDown_PID_D_Value";
|
|
this.numericUpDown_PID_D_Value.Size = new System.Drawing.Size(64, 20);
|
|
this.numericUpDown_PID_D_Value.TabIndex = 19;
|
|
this.numericUpDown_PID_D_Value.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_D_Min
|
|
//
|
|
this.numericUpDown_Yaw_D_Min.Location = new System.Drawing.Point(26, 236);
|
|
this.numericUpDown_Yaw_D_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Yaw_D_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Yaw_D_Min.Name = "numericUpDown_Yaw_D_Min";
|
|
this.numericUpDown_Yaw_D_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_Yaw_D_Min.TabIndex = 30;
|
|
this.numericUpDown_Yaw_D_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label13
|
|
//
|
|
this.label13.AutoSize = true;
|
|
this.label13.Location = new System.Drawing.Point(3, 186);
|
|
this.label13.Name = "label13";
|
|
this.label13.Size = new System.Drawing.Size(17, 13);
|
|
this.label13.TabIndex = 21;
|
|
this.label13.Text = "P:";
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Location = new System.Drawing.Point(3, 238);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(18, 13);
|
|
this.label11.TabIndex = 29;
|
|
this.label11.Text = "D:";
|
|
//
|
|
// numericUpDown_Yaw_P_Min
|
|
//
|
|
this.numericUpDown_Yaw_P_Min.Location = new System.Drawing.Point(26, 184);
|
|
this.numericUpDown_Yaw_P_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Yaw_P_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Yaw_P_Min.Name = "numericUpDown_Yaw_P_Min";
|
|
this.numericUpDown_Yaw_P_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_Yaw_P_Min.TabIndex = 22;
|
|
this.numericUpDown_Yaw_P_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_I_Value
|
|
//
|
|
this.numericUpDown_Yaw_I_Value.DecimalPlaces = 3;
|
|
this.numericUpDown_Yaw_I_Value.Location = new System.Drawing.Point(140, 210);
|
|
this.numericUpDown_Yaw_I_Value.Name = "numericUpDown_Yaw_I_Value";
|
|
this.numericUpDown_Yaw_I_Value.Size = new System.Drawing.Size(64, 20);
|
|
this.numericUpDown_Yaw_I_Value.TabIndex = 28;
|
|
this.numericUpDown_Yaw_I_Value.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_P_Max
|
|
//
|
|
this.numericUpDown_Yaw_P_Max.Location = new System.Drawing.Point(83, 184);
|
|
this.numericUpDown_Yaw_P_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Yaw_P_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Yaw_P_Max.Name = "numericUpDown_Yaw_P_Max";
|
|
this.numericUpDown_Yaw_P_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_Yaw_P_Max.TabIndex = 23;
|
|
this.numericUpDown_Yaw_P_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_I_Max
|
|
//
|
|
this.numericUpDown_Yaw_I_Max.Location = new System.Drawing.Point(83, 210);
|
|
this.numericUpDown_Yaw_I_Max.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Yaw_I_Max.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Yaw_I_Max.Name = "numericUpDown_Yaw_I_Max";
|
|
this.numericUpDown_Yaw_I_Max.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_Yaw_I_Max.TabIndex = 27;
|
|
this.numericUpDown_Yaw_I_Max.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_P_Value
|
|
//
|
|
this.numericUpDown_Yaw_P_Value.DecimalPlaces = 3;
|
|
this.numericUpDown_Yaw_P_Value.Location = new System.Drawing.Point(140, 184);
|
|
this.numericUpDown_Yaw_P_Value.Name = "numericUpDown_Yaw_P_Value";
|
|
this.numericUpDown_Yaw_P_Value.Size = new System.Drawing.Size(64, 20);
|
|
this.numericUpDown_Yaw_P_Value.TabIndex = 24;
|
|
this.numericUpDown_Yaw_P_Value.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// numericUpDown_Yaw_I_Min
|
|
//
|
|
this.numericUpDown_Yaw_I_Min.Location = new System.Drawing.Point(26, 210);
|
|
this.numericUpDown_Yaw_I_Min.Maximum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
0});
|
|
this.numericUpDown_Yaw_I_Min.Minimum = new decimal(new int[] {
|
|
1000,
|
|
0,
|
|
0,
|
|
-2147483648});
|
|
this.numericUpDown_Yaw_I_Min.Name = "numericUpDown_Yaw_I_Min";
|
|
this.numericUpDown_Yaw_I_Min.Size = new System.Drawing.Size(51, 20);
|
|
this.numericUpDown_Yaw_I_Min.TabIndex = 26;
|
|
this.numericUpDown_Yaw_I_Min.ValueChanged += new System.EventHandler(this.numericUpDown_PID_Min_ValueChanged);
|
|
//
|
|
// label12
|
|
//
|
|
this.label12.AutoSize = true;
|
|
this.label12.Location = new System.Drawing.Point(3, 212);
|
|
this.label12.Name = "label12";
|
|
this.label12.Size = new System.Drawing.Size(13, 13);
|
|
this.label12.TabIndex = 25;
|
|
this.label12.Text = "I:";
|
|
//
|
|
// label_PID_State
|
|
//
|
|
this.label_PID_State.AutoSize = true;
|
|
this.label_PID_State.Location = new System.Drawing.Point(89, 289);
|
|
this.label_PID_State.Name = "label_PID_State";
|
|
this.label_PID_State.Size = new System.Drawing.Size(32, 13);
|
|
this.label_PID_State.TabIndex = 43;
|
|
this.label_PID_State.Text = "State";
|
|
this.label_PID_State.TextChanged += new System.EventHandler(this.label_PID_State_TextChanged);
|
|
//
|
|
// button_PID_Write
|
|
//
|
|
this.button_PID_Write.Location = new System.Drawing.Point(132, 284);
|
|
this.button_PID_Write.Name = "button_PID_Write";
|
|
this.button_PID_Write.Size = new System.Drawing.Size(75, 23);
|
|
this.button_PID_Write.TabIndex = 42;
|
|
this.button_PID_Write.Text = "Write";
|
|
this.button_PID_Write.UseVisualStyleBackColor = true;
|
|
this.button_PID_Write.Click += new System.EventHandler(this.button_PID_Write_Click);
|
|
//
|
|
// button_PID_Read
|
|
//
|
|
this.button_PID_Read.Location = new System.Drawing.Point(6, 284);
|
|
this.button_PID_Read.Name = "button_PID_Read";
|
|
this.button_PID_Read.Size = new System.Drawing.Size(75, 23);
|
|
this.button_PID_Read.TabIndex = 41;
|
|
this.button_PID_Read.Text = "Read";
|
|
this.button_PID_Read.UseVisualStyleBackColor = true;
|
|
this.button_PID_Read.Click += new System.EventHandler(this.button_PID_Read_Click);
|
|
//
|
|
// panel1
|
|
//
|
|
this.panel1.Controls.Add(this.groupBox3);
|
|
this.panel1.Controls.Add(this.groupBox_Connect);
|
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.panel1.Location = new System.Drawing.Point(0, 24);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(213, 547);
|
|
this.panel1.TabIndex = 4;
|
|
//
|
|
// menuStrip1
|
|
//
|
|
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.fileToolStripMenuItem});
|
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
|
this.menuStrip1.Name = "menuStrip1";
|
|
this.menuStrip1.Size = new System.Drawing.Size(901, 24);
|
|
this.menuStrip1.TabIndex = 5;
|
|
this.menuStrip1.Text = "menuStrip1";
|
|
//
|
|
// fileToolStripMenuItem
|
|
//
|
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
this.openToolStripMenuItem,
|
|
this.folderToolStripMenuItem});
|
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
this.fileToolStripMenuItem.Text = "File";
|
|
//
|
|
// openToolStripMenuItem
|
|
//
|
|
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
|
|
this.openToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
|
|
this.openToolStripMenuItem.Text = "Open";
|
|
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
|
//
|
|
// folderToolStripMenuItem
|
|
//
|
|
this.folderToolStripMenuItem.Name = "folderToolStripMenuItem";
|
|
this.folderToolStripMenuItem.Size = new System.Drawing.Size(116, 22);
|
|
this.folderToolStripMenuItem.Text = "Records";
|
|
this.folderToolStripMenuItem.Click += new System.EventHandler(this.folderToolStripMenuItem_Click);
|
|
//
|
|
// openFileDialog_Open
|
|
//
|
|
this.openFileDialog_Open.FileName = "openFileDialog1";
|
|
this.openFileDialog_Open.Filter = "Telem files|*.tel";
|
|
//
|
|
// panel_GraphX
|
|
//
|
|
this.panel_GraphX.Controls.Add(this.trackBar_GraphX_Down);
|
|
this.panel_GraphX.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
this.panel_GraphX.Location = new System.Drawing.Point(213, 531);
|
|
this.panel_GraphX.Name = "panel_GraphX";
|
|
this.panel_GraphX.Size = new System.Drawing.Size(556, 40);
|
|
this.panel_GraphX.TabIndex = 6;
|
|
//
|
|
// trackBar_GraphX_Down
|
|
//
|
|
this.trackBar_GraphX_Down.AutoSize = false;
|
|
this.trackBar_GraphX_Down.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.trackBar_GraphX_Down.Location = new System.Drawing.Point(0, 0);
|
|
this.trackBar_GraphX_Down.Minimum = 1;
|
|
this.trackBar_GraphX_Down.Name = "trackBar_GraphX_Down";
|
|
this.trackBar_GraphX_Down.Size = new System.Drawing.Size(556, 40);
|
|
this.trackBar_GraphX_Down.TabIndex = 1;
|
|
this.trackBar_GraphX_Down.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
|
|
this.trackBar_GraphX_Down.Value = 10;
|
|
this.trackBar_GraphX_Down.Scroll += new System.EventHandler(this.numericUpDown_Min_ValueChanged);
|
|
//
|
|
// panel_GraphY
|
|
//
|
|
this.panel_GraphY.Controls.Add(this.trackBar_GraphY_Right);
|
|
this.panel_GraphY.Controls.Add(this.trackBar_GraphY_Left);
|
|
this.panel_GraphY.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.panel_GraphY.Enabled = false;
|
|
this.panel_GraphY.Location = new System.Drawing.Point(213, 24);
|
|
this.panel_GraphY.Name = "panel_GraphY";
|
|
this.panel_GraphY.Size = new System.Drawing.Size(41, 507);
|
|
this.panel_GraphY.TabIndex = 7;
|
|
//
|
|
// trackBar_GraphY_Right
|
|
//
|
|
this.trackBar_GraphY_Right.AutoSize = false;
|
|
this.trackBar_GraphY_Right.Dock = System.Windows.Forms.DockStyle.Right;
|
|
this.trackBar_GraphY_Right.Location = new System.Drawing.Point(19, 0);
|
|
this.trackBar_GraphY_Right.Name = "trackBar_GraphY_Right";
|
|
this.trackBar_GraphY_Right.Orientation = System.Windows.Forms.Orientation.Vertical;
|
|
this.trackBar_GraphY_Right.Size = new System.Drawing.Size(22, 507);
|
|
this.trackBar_GraphY_Right.TabIndex = 1;
|
|
this.trackBar_GraphY_Right.TickStyle = System.Windows.Forms.TickStyle.TopLeft;
|
|
this.trackBar_GraphY_Right.Value = 10;
|
|
this.trackBar_GraphY_Right.Scroll += new System.EventHandler(this.trackBar_GraphY_Left_Scroll);
|
|
//
|
|
// trackBar_GraphY_Left
|
|
//
|
|
this.trackBar_GraphY_Left.AutoSize = false;
|
|
this.trackBar_GraphY_Left.Dock = System.Windows.Forms.DockStyle.Left;
|
|
this.trackBar_GraphY_Left.Location = new System.Drawing.Point(0, 0);
|
|
this.trackBar_GraphY_Left.Name = "trackBar_GraphY_Left";
|
|
this.trackBar_GraphY_Left.Orientation = System.Windows.Forms.Orientation.Vertical;
|
|
this.trackBar_GraphY_Left.Size = new System.Drawing.Size(21, 507);
|
|
this.trackBar_GraphY_Left.TabIndex = 0;
|
|
this.trackBar_GraphY_Left.Scroll += new System.EventHandler(this.trackBar_GraphY_Left_Scroll);
|
|
//
|
|
// MainForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(901, 571);
|
|
this.Controls.Add(this.chart_Graph);
|
|
this.Controls.Add(this.panel_GraphY);
|
|
this.Controls.Add(this.panel_GraphX);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.panel1);
|
|
this.Controls.Add(this.menuStrip1);
|
|
this.MinimumSize = new System.Drawing.Size(914, 515);
|
|
this.Name = "MainForm";
|
|
this.Text = "Telemetry";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
this.groupBox_Connect.ResumeLayout(false);
|
|
this.groupBox_Connect.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.chart_Graph)).EndInit();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.panel2.ResumeLayout(false);
|
|
this.panel2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Graph_MinY)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Graph_MaxY)).EndInit();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.panel_PID.ResumeLayout(false);
|
|
this.panel_PID.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_P_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_P_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_P_Value)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_I_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_I_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_I_Value)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_D_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_D_Value)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_D_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_D_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_PID_D_Value)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_D_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_P_Min)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_I_Value)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_P_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_I_Max)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_P_Value)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown_Yaw_I_Min)).EndInit();
|
|
this.panel1.ResumeLayout(false);
|
|
this.menuStrip1.ResumeLayout(false);
|
|
this.menuStrip1.PerformLayout();
|
|
this.panel_GraphX.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.trackBar_GraphX_Down)).EndInit();
|
|
this.panel_GraphY.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)(this.trackBar_GraphY_Right)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.trackBar_GraphY_Left)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBox_Connect;
|
|
private System.Windows.Forms.Button button_Connect;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.DataVisualization.Charting.Chart chart_Graph;
|
|
private System.IO.Ports.SerialPort serialPort_COM;
|
|
private System.Windows.Forms.Timer timer_Tick;
|
|
private System.Windows.Forms.TextBox textBox_Error;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.CheckedListBox checkedListBox_Series;
|
|
private System.Windows.Forms.TextBox textBox_Count;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox comboBox_Port;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Min;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Panel panel1;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_Min;
|
|
private System.Windows.Forms.Label label10;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_D_Value;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_D_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_D_Min;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_I_Value;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_I_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_I_Min;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_P_Value;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_P_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_PID_P_Min;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label21;
|
|
private System.Windows.Forms.Label label20;
|
|
private System.Windows.Forms.Label label19;
|
|
private System.Windows.Forms.Label label18;
|
|
private System.Windows.Forms.Label label17;
|
|
private System.Windows.Forms.Label label16;
|
|
private System.Windows.Forms.Label label15;
|
|
private System.Windows.Forms.Label label14;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_D_Value;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_D_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_D_Min;
|
|
private System.Windows.Forms.Label label11;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_I_Value;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_I_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_I_Min;
|
|
private System.Windows.Forms.Label label12;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_P_Value;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_P_Max;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Yaw_P_Min;
|
|
private System.Windows.Forms.Label label13;
|
|
private System.Windows.Forms.Label label_PID_State;
|
|
private System.Windows.Forms.Button button_PID_Write;
|
|
private System.Windows.Forms.Button button_PID_Read;
|
|
private System.Windows.Forms.Button button_Color;
|
|
private System.Windows.Forms.ColorDialog colorDialog_Color;
|
|
private System.Windows.Forms.Panel panel_PID;
|
|
private System.Windows.Forms.CheckBox checkBox_Save;
|
|
private System.Windows.Forms.MenuStrip menuStrip1;
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
|
|
private System.Windows.Forms.ToolStripMenuItem folderToolStripMenuItem;
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog_Open;
|
|
private System.Windows.Forms.CheckBox checkBox_Track;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Graph_MinY;
|
|
private System.Windows.Forms.Label label24;
|
|
private System.Windows.Forms.Label label23;
|
|
private System.Windows.Forms.NumericUpDown numericUpDown_Graph_MaxY;
|
|
private System.Windows.Forms.CheckBox checkBox_AutoY;
|
|
private System.Windows.Forms.Panel panel_GraphX;
|
|
private System.Windows.Forms.TrackBar trackBar_GraphX_Down;
|
|
private System.Windows.Forms.Panel panel_GraphY;
|
|
private System.Windows.Forms.TrackBar trackBar_GraphY_Right;
|
|
private System.Windows.Forms.TrackBar trackBar_GraphY_Left;
|
|
private System.Windows.Forms.Panel panel2;
|
|
}
|
|
}
|
|
|