static void Main(string[] args) { LineFit lf = new LineFit { End1Row = 100, End2Row = 200, End1Column = 100, End2Column = 100, R2 = 1.3 }; SerializableLineFit slf = new SerializableLineFit(lf); }
/// <summary> /// Creates a tracklet from a set of detections. /// </summary> /// <param name="Detections">Input detections; one per image.</param> /// <returns>A new Tracklet instance.</returns> public static Tracklet CreateTracklet(ImageDetection[] Detections) { long[] Ticks = Detections.Select((x) => x.Time.Time.Ticks).ToArray(); Array.Sort(Ticks, Detections); EquatorialPoint[] ValidEP = new EquatorialPoint[Detections.Length]; double[] ValidTimes = new double[Detections.Length]; DateTime ZeroTime = Detections[0].Time.Time; WCS.IWCSProjection Projection = Detections[0].ParentImage.Transform; for (int i = 0; i < Detections.Length; i++) { ValidEP[i] = Detections[i].Barycenter.EP; ValidTimes[i] = (Detections[i].Time.Time - ZeroTime).TotalSeconds; } var XRA = ValidEP.Select((x) => x.RA).ToArray(); var XDec = ValidEP.Select((x) => x.Dec).ToArray(); var RAreg = LinearRegression.ComputeLinearRegression(ValidTimes, XRA); var Decreg = LinearRegression.ComputeLinearRegression(ValidTimes, XDec); var RADecreg = LinearRegression.ComputeLinearRegression(XRA, XDec); double ResRA = LineFit.ComputeResidualSqSum(RAreg, ValidTimes, XRA); double ResDec = LineFit.ComputeResidualSqSum(Decreg, ValidTimes, XDec); EquatorialVelocity ev = new EquatorialVelocity() { RAvel = RAreg.Slope, Decvel = Decreg.Slope }; TrackletVelocityRegression tvr = new TrackletVelocityRegression() { R_TR = RAreg.PearsonR, R_TD = Decreg.PearsonR, R_RD = RADecreg.PearsonR, S_TR = ResRA, S_TD = ResDec, ZeroTime = ZeroTime, P_TD = Decreg, P_TR = RAreg }; TrackletVelocity tvel = new TrackletVelocity() { EquatorialVelocity = ev, PixelVelocity = Projection.GetPixelVelocity(ev), SphericalVelocity = Math.Sqrt(ev.Decvel * ev.Decvel + ev.RAvel * ev.RAvel * Math.Cos(XRA[0]) * Math.Cos(XRA[0])) }; return(new Tracklet(Detections, tvel, tvr)); }
/// <summary>Checks whether 3 points are collinear.</summary> bool Line3Way(ImageDetection a, ImageDetection b, ImageDetection c) { double BSec = (b.Time.Time - a.Time.Time).TotalSeconds; double CSec = (c.Time.Time - a.Time.Time).TotalSeconds; double RAT = LineFit.ComputeResidualSqSum(new double[] { 0, BSec, CSec }, new double[] { a.Barycenter.EP.RA, b.Barycenter.EP.RA, c.Barycenter.EP.RA }); double DecT = LineFit.ComputeResidualSqSum(new double[] { 0, BSec, CSec }, new double[] { a.Barycenter.EP.Dec, b.Barycenter.EP.Dec, c.Barycenter.EP.Dec }); double ErrRad = MaxLinErrorArcSec * Math.PI / 180 / 3600; if (RAT + DecT > ErrRad * ErrRad) { return(false); } else { return(true); } }
public SerializableLineFit(LineFit linefit) { LineFit = linefit; }
/// <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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager( typeof( MainForm ) ); this.tcMainTabs = new System.Windows.Forms.TabControl(); this.tpRadioTest = new System.Windows.Forms.TabPage(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label40 = new System.Windows.Forms.Label(); this.btnRecPWM = new System.Windows.Forms.RadioButton(); this.btnRecSBUS = new System.Windows.Forms.RadioButton(); this.lblFlightMode = new System.Windows.Forms.Label(); this.lblAux3 = new System.Windows.Forms.Label(); this.lblAux2 = new System.Windows.Forms.Label(); this.lblAux1 = new System.Windows.Forms.Label(); this.lblGear = new System.Windows.Forms.Label(); this.label36 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); this.label34 = new System.Windows.Forms.Label(); this.label33 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.rsRight = new Elev8.RadioJoystick(); this.rsLeft = new Elev8.RadioJoystick(); this.tpSensorTest = new System.Windows.Forms.TabPage(); this.gAltimeter = new Elev8.Graph(); this.label12 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.label23 = new System.Windows.Forms.Label(); this.lblAltimeterTemp = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.lblAltimeter = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.textBox2 = new System.Windows.Forms.TextBox(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.gHeading = new Elev8.Gauge(); this.gMagZ = new Elev8.Gauge(); this.gMagY = new Elev8.Gauge(); this.gMagX = new Elev8.Gauge(); this.gGyroTemp = new Elev8.Gauge(); this.gAccelZ = new Elev8.Gauge(); this.gAccelY = new Elev8.Gauge(); this.gAccelX = new Elev8.Gauge(); this.gGyroZ = new Elev8.Gauge(); this.gGyroY = new Elev8.Gauge(); this.gGyroX = new Elev8.Gauge(); this.tpMotorTest = new System.Windows.Forms.TabPage(); this.lblCalibrateDocs = new System.Windows.Forms.Label(); this.btnThrottleCalibrate = new System.Windows.Forms.Button(); this.btnLED = new System.Windows.Forms.Button(); this.btnBeeper = new System.Windows.Forms.Button(); this.textBox3 = new System.Windows.Forms.TextBox(); this.btnMotor4 = new System.Windows.Forms.Button(); this.btnMotor3 = new System.Windows.Forms.Button(); this.btnMotor2 = new System.Windows.Forms.Button(); this.btnMotor1 = new System.Windows.Forms.Button(); this.tpGyroCalibration = new System.Windows.Forms.TabPage(); this.gCalibTemp = new Elev8.Gauge(); this.gCalibZ = new Elev8.Gauge(); this.gCalibY = new Elev8.Gauge(); this.gCalibX = new Elev8.Gauge(); this.btnUploadGyroCalibration = new System.Windows.Forms.Button(); this.btnResetGyroCal = new System.Windows.Forms.Button(); this.groupBox10 = new System.Windows.Forms.GroupBox(); this.label18 = new System.Windows.Forms.Label(); this.gzOffset = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.gzScale = new System.Windows.Forms.Label(); this.groupBox11 = new System.Windows.Forms.GroupBox(); this.label22 = new System.Windows.Forms.Label(); this.gyOffset = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.gyScale = new System.Windows.Forms.Label(); this.groupBox12 = new System.Windows.Forms.GroupBox(); this.label26 = new System.Windows.Forms.Label(); this.gxOffset = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.gxScale = new System.Windows.Forms.Label(); this.lfGraph = new Elev8.LineFit(); this.tpAccelCalibration = new System.Windows.Forms.TabPage(); this.lblAccelCalFinal = new System.Windows.Forms.Label(); this.lblAccelCal4 = new System.Windows.Forms.Label(); this.lblAccelCal3 = new System.Windows.Forms.Label(); this.lblAccelCal2 = new System.Windows.Forms.Label(); this.lblAccelCal1 = new System.Windows.Forms.Label(); this.btnUploadAccelCal = new System.Windows.Forms.Button(); this.btnAccelCal4 = new System.Windows.Forms.Button(); this.btnAccelCal3 = new System.Windows.Forms.Button(); this.btnAccelCal2 = new System.Windows.Forms.Button(); this.btnAccelCal1 = new System.Windows.Forms.Button(); this.label37 = new System.Windows.Forms.Label(); this.label38 = new System.Windows.Forms.Label(); this.label39 = new System.Windows.Forms.Label(); this.gAccelZCal = new Elev8.Gauge(); this.gAccelYCal = new Elev8.Gauge(); this.gAccelXCal = new Elev8.Gauge(); this.tpIMUTest = new System.Windows.Forms.TabPage(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.textBox4 = new System.Windows.Forms.TextBox(); this.gYaw = new Elev8.Gauge(); this.gRoll = new Elev8.Gauge(); this.gPitch = new Elev8.Gauge(); this.ocOrientation = new Elev8.OrientationCube(); this.tpIMUComp = new System.Windows.Forms.TabPage(); this.lblStatOutput = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.ocCompQ2 = new Elev8.OrientationCube(); this.ocCompQ1 = new Elev8.OrientationCube(); this.tpVibration = new System.Windows.Forms.TabPage(); this.label32 = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.lblGZAvg = new System.Windows.Forms.Label(); this.lblGZVar = new System.Windows.Forms.Label(); this.lblGZMin = new System.Windows.Forms.Label(); this.lblGZMax = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.lblGYAvg = new System.Windows.Forms.Label(); this.lblGYVar = new System.Windows.Forms.Label(); this.lblGYMin = new System.Windows.Forms.Label(); this.lblGYMax = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.lblGXAvg = new System.Windows.Forms.Label(); this.lblGXVar = new System.Windows.Forms.Label(); this.lblGXMin = new System.Windows.Forms.Label(); this.lblGXMax = new System.Windows.Forms.Label(); this.grGyro = new Elev8.Graph(); this.tickTimer = new System.Windows.Forms.Timer( this.components ); this.stStatus = new System.Windows.Forms.StatusStrip(); this.tsStatLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.udRollCorrection = new System.Windows.Forms.NumericUpDown(); this.label41 = new System.Windows.Forms.Label(); this.label42 = new System.Windows.Forms.Label(); this.udPitchCorrection = new System.Windows.Forms.NumericUpDown(); this.btnUploadAngleCorrection = new System.Windows.Forms.Button(); this.groupBox5 = new System.Windows.Forms.GroupBox(); this.groupBox6 = new System.Windows.Forms.GroupBox(); this.tcMainTabs.SuspendLayout(); this.tpRadioTest.SuspendLayout(); this.groupBox4.SuspendLayout(); this.tpSensorTest.SuspendLayout(); this.tpMotorTest.SuspendLayout(); this.tpGyroCalibration.SuspendLayout(); this.groupBox10.SuspendLayout(); this.groupBox11.SuspendLayout(); this.groupBox12.SuspendLayout(); this.tpAccelCalibration.SuspendLayout(); this.tpIMUTest.SuspendLayout(); this.tpIMUComp.SuspendLayout(); this.tpVibration.SuspendLayout(); this.groupBox3.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox1.SuspendLayout(); this.stStatus.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.udRollCorrection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.udPitchCorrection)).BeginInit(); this.groupBox5.SuspendLayout(); this.groupBox6.SuspendLayout(); this.SuspendLayout(); // // tcMainTabs // this.tcMainTabs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.tcMainTabs.Controls.Add( this.tpRadioTest ); this.tcMainTabs.Controls.Add( this.tpSensorTest ); this.tcMainTabs.Controls.Add( this.tpMotorTest ); this.tcMainTabs.Controls.Add( this.tpGyroCalibration ); this.tcMainTabs.Controls.Add( this.tpAccelCalibration ); this.tcMainTabs.Controls.Add( this.tpIMUTest ); this.tcMainTabs.Controls.Add( this.tpIMUComp ); this.tcMainTabs.Controls.Add( this.tpVibration ); this.tcMainTabs.Location = new System.Drawing.Point( 0, 0 ); this.tcMainTabs.Name = "tcMainTabs"; this.tcMainTabs.SelectedIndex = 0; this.tcMainTabs.Size = new System.Drawing.Size( 641, 356 ); this.tcMainTabs.TabIndex = 1; this.tcMainTabs.SelectedIndexChanged += new System.EventHandler( this.tcMainTabs_SelectedIndexChanged ); // // tpRadioTest // this.tpRadioTest.Controls.Add( this.groupBox4 ); this.tpRadioTest.Controls.Add( this.lblFlightMode ); this.tpRadioTest.Controls.Add( this.lblAux3 ); this.tpRadioTest.Controls.Add( this.lblAux2 ); this.tpRadioTest.Controls.Add( this.lblAux1 ); this.tpRadioTest.Controls.Add( this.lblGear ); this.tpRadioTest.Controls.Add( this.label36 ); this.tpRadioTest.Controls.Add( this.label35 ); this.tpRadioTest.Controls.Add( this.label34 ); this.tpRadioTest.Controls.Add( this.label33 ); this.tpRadioTest.Controls.Add( this.textBox1 ); this.tpRadioTest.Controls.Add( this.label4 ); this.tpRadioTest.Controls.Add( this.label3 ); this.tpRadioTest.Controls.Add( this.label2 ); this.tpRadioTest.Controls.Add( this.label1 ); this.tpRadioTest.Controls.Add( this.rsRight ); this.tpRadioTest.Controls.Add( this.rsLeft ); this.tpRadioTest.Location = new System.Drawing.Point( 4, 22 ); this.tpRadioTest.Name = "tpRadioTest"; this.tpRadioTest.Padding = new System.Windows.Forms.Padding( 3 ); this.tpRadioTest.Size = new System.Drawing.Size( 633, 330 ); this.tpRadioTest.TabIndex = 0; this.tpRadioTest.Text = "Radio Test"; this.tpRadioTest.UseVisualStyleBackColor = true; // // groupBox4 // this.groupBox4.Controls.Add( this.label40 ); this.groupBox4.Controls.Add( this.btnRecPWM ); this.groupBox4.Controls.Add( this.btnRecSBUS ); this.groupBox4.Location = new System.Drawing.Point( 459, 206 ); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size( 166, 110 ); this.groupBox4.TabIndex = 26; this.groupBox4.TabStop = false; this.groupBox4.Text = "Receiver Type"; // // label40 // this.label40.AutoSize = true; this.label40.Location = new System.Drawing.Point( 6, 64 ); this.label40.Name = "label40"; this.label40.Size = new System.Drawing.Size( 135, 39 ); this.label40.TabIndex = 26; this.label40.Text = "Note: Changing receiver\r\ntype requires power-cycling\r\nthe flight controller."; // // btnRecPWM // this.btnRecPWM.AutoSize = true; this.btnRecPWM.Location = new System.Drawing.Point( 10, 20 ); this.btnRecPWM.Name = "btnRecPWM"; this.btnRecPWM.Size = new System.Drawing.Size( 102, 17 ); this.btnRecPWM.TabIndex = 24; this.btnRecPWM.TabStop = true; this.btnRecPWM.Text = "PWM (standard)"; this.btnRecPWM.UseVisualStyleBackColor = true; this.btnRecPWM.CheckedChanged += new System.EventHandler( this.btnRecPWM_CheckedChanged ); // // btnRecSBUS // this.btnRecSBUS.AutoSize = true; this.btnRecSBUS.Location = new System.Drawing.Point( 10, 38 ); this.btnRecSBUS.Name = "btnRecSBUS"; this.btnRecSBUS.Size = new System.Drawing.Size( 57, 17 ); this.btnRecSBUS.TabIndex = 25; this.btnRecSBUS.TabStop = true; this.btnRecSBUS.Text = "S-BUS"; this.btnRecSBUS.UseVisualStyleBackColor = true; this.btnRecSBUS.CheckedChanged += new System.EventHandler( this.btnRecSBUS_CheckedChanged ); // // lblFlightMode // this.lblFlightMode.Location = new System.Drawing.Point( 503, 52 ); this.lblFlightMode.Name = "lblFlightMode"; this.lblFlightMode.Size = new System.Drawing.Size( 69, 13 ); this.lblFlightMode.TabIndex = 23; this.lblFlightMode.Text = "Mode"; this.lblFlightMode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblAux3 // this.lblAux3.Location = new System.Drawing.Point( 512, 149 ); this.lblAux3.Name = "lblAux3"; this.lblAux3.Size = new System.Drawing.Size( 50, 13 ); this.lblAux3.TabIndex = 22; this.lblAux3.Text = "0"; this.lblAux3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblAux2 // this.lblAux2.Location = new System.Drawing.Point( 512, 112 ); this.lblAux2.Name = "lblAux2"; this.lblAux2.Size = new System.Drawing.Size( 50, 13 ); this.lblAux2.TabIndex = 21; this.lblAux2.Text = "0"; this.lblAux2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblAux1 // this.lblAux1.Location = new System.Drawing.Point( 512, 75 ); this.lblAux1.Name = "lblAux1"; this.lblAux1.Size = new System.Drawing.Size( 50, 13 ); this.lblAux1.TabIndex = 20; this.lblAux1.Text = "0"; this.lblAux1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGear // this.lblGear.Location = new System.Drawing.Point( 512, 38 ); this.lblGear.Name = "lblGear"; this.lblGear.Size = new System.Drawing.Size( 50, 13 ); this.lblGear.TabIndex = 19; this.lblGear.Text = "0"; this.lblGear.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label36 // this.label36.AutoSize = true; this.label36.Location = new System.Drawing.Point( 475, 149 ); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size( 34, 13 ); this.label36.TabIndex = 18; this.label36.Text = "Aux3:"; // // label35 // this.label35.AutoSize = true; this.label35.Location = new System.Drawing.Point( 475, 112 ); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size( 34, 13 ); this.label35.TabIndex = 17; this.label35.Text = "Aux2:"; // // label34 // this.label34.AutoSize = true; this.label34.Location = new System.Drawing.Point( 475, 75 ); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size( 34, 13 ); this.label34.TabIndex = 16; this.label34.Text = "Aux1:"; // // label33 // this.label33.AutoSize = true; this.label33.Location = new System.Drawing.Point( 475, 38 ); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size( 33, 13 ); this.label33.TabIndex = 15; this.label33.Text = "Gear:"; // // textBox1 // this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox1.Enabled = false; this.textBox1.Location = new System.Drawing.Point( 98, 212 ); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size( 332, 73 ); this.textBox1.TabIndex = 14; this.textBox1.Text = resources.GetString( "textBox1.Text" ); this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point( 354, 185 ); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size( 46, 13 ); this.label4.TabIndex = 13; this.label4.Text = "Elevator"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point( 259, 93 ); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size( 39, 13 ); this.label3.TabIndex = 12; this.label3.Text = "Aileron"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point( 122, 185 ); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size( 42, 13 ); this.label2.TabIndex = 11; this.label2.Text = "Rudder"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point( 23, 93 ); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size( 43, 13 ); this.label1.TabIndex = 10; this.label1.Text = "Throttle"; // // rsRight // this.rsRight.Location = new System.Drawing.Point( 302, 24 ); this.rsRight.Name = "rsRight"; this.rsRight.Range = 1024F; this.rsRight.Size = new System.Drawing.Size( 150, 150 ); this.rsRight.TabIndex = 9; this.rsRight.XValue = 0F; this.rsRight.YValue = 0F; // // rsLeft // this.rsLeft.Location = new System.Drawing.Point( 68, 24 ); this.rsLeft.Name = "rsLeft"; this.rsLeft.Range = 1024F; this.rsLeft.Size = new System.Drawing.Size( 150, 150 ); this.rsLeft.TabIndex = 8; this.rsLeft.XValue = 0F; this.rsLeft.YValue = 0F; // // tpSensorTest // this.tpSensorTest.Controls.Add( this.gAltimeter ); this.tpSensorTest.Controls.Add( this.label12 ); this.tpSensorTest.Controls.Add( this.label19 ); this.tpSensorTest.Controls.Add( this.label21 ); this.tpSensorTest.Controls.Add( this.label23 ); this.tpSensorTest.Controls.Add( this.lblAltimeterTemp ); this.tpSensorTest.Controls.Add( this.label15 ); this.tpSensorTest.Controls.Add( this.lblAltimeter ); this.tpSensorTest.Controls.Add( this.label13 ); this.tpSensorTest.Controls.Add( this.label11 ); this.tpSensorTest.Controls.Add( this.textBox2 ); this.tpSensorTest.Controls.Add( this.label8 ); this.tpSensorTest.Controls.Add( this.label9 ); this.tpSensorTest.Controls.Add( this.label10 ); this.tpSensorTest.Controls.Add( this.label7 ); this.tpSensorTest.Controls.Add( this.label6 ); this.tpSensorTest.Controls.Add( this.label5 ); this.tpSensorTest.Controls.Add( this.gHeading ); this.tpSensorTest.Controls.Add( this.gMagZ ); this.tpSensorTest.Controls.Add( this.gMagY ); this.tpSensorTest.Controls.Add( this.gMagX ); this.tpSensorTest.Controls.Add( this.gGyroTemp ); this.tpSensorTest.Controls.Add( this.gAccelZ ); this.tpSensorTest.Controls.Add( this.gAccelY ); this.tpSensorTest.Controls.Add( this.gAccelX ); this.tpSensorTest.Controls.Add( this.gGyroZ ); this.tpSensorTest.Controls.Add( this.gGyroY ); this.tpSensorTest.Controls.Add( this.gGyroX ); this.tpSensorTest.Location = new System.Drawing.Point( 4, 22 ); this.tpSensorTest.Name = "tpSensorTest"; this.tpSensorTest.Padding = new System.Windows.Forms.Padding( 3 ); this.tpSensorTest.Size = new System.Drawing.Size( 633, 330 ); this.tpSensorTest.TabIndex = 1; this.tpSensorTest.Text = "Sensor Test"; this.tpSensorTest.UseVisualStyleBackColor = true; // // gAltimeter // this.gAltimeter.Location = new System.Drawing.Point( 414, 146 ); this.gAltimeter.Name = "gAltimeter"; this.gAltimeter.Size = new System.Drawing.Size( 211, 124 ); this.gAltimeter.TabIndex = 31; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point( 308, 309 ); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size( 93, 13 ); this.label12.TabIndex = 30; this.label12.Text = "Compass Heading"; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point( 201, 309 ); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size( 60, 13 ); this.label19.TabIndex = 28; this.label19.Text = "Compass Z"; // // label21 // this.label21.AutoSize = true; this.label21.Location = new System.Drawing.Point( 103, 309 ); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size( 60, 13 ); this.label21.TabIndex = 27; this.label21.Text = "Compass Y"; // // label23 // this.label23.AutoSize = true; this.label23.Location = new System.Drawing.Point( 8, 309 ); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size( 60, 13 ); this.label23.TabIndex = 26; this.label23.Text = "Compass X"; // // lblAltimeterTemp // this.lblAltimeterTemp.Location = new System.Drawing.Point( 500, 129 ); this.lblAltimeterTemp.Name = "lblAltimeterTemp"; this.lblAltimeterTemp.Size = new System.Drawing.Size( 110, 13 ); this.lblAltimeterTemp.TabIndex = 22; this.lblAltimeterTemp.Text = "0"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point( 411, 129 ); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size( 83, 13 ); this.label15.TabIndex = 21; this.label15.Text = "Altimeter Temp :"; // // lblAltimeter // this.lblAltimeter.Location = new System.Drawing.Point( 469, 111 ); this.lblAltimeter.Name = "lblAltimeter"; this.lblAltimeter.Size = new System.Drawing.Size( 136, 13 ); this.lblAltimeter.TabIndex = 20; this.lblAltimeter.Text = "0"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point( 410, 111 ); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size( 53, 13 ); this.label13.TabIndex = 19; this.label13.Text = "Altimeter :"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point( 307, 203 ); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size( 92, 13 ); this.label11.TabIndex = 17; this.label11.Text = "Gyro Temperature"; // // textBox2 // this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox2.Enabled = false; this.textBox2.Location = new System.Drawing.Point( 449, 42 ); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size( 176, 54 ); this.textBox2.TabIndex = 15; this.textBox2.Text = "Here you should see your Elev8-FC\r\ncontroller sensors responding to\r\nmovement and" + " rotation."; this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point( 201, 203 ); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size( 44, 13 ); this.label8.TabIndex = 11; this.label8.Text = "Accel Z"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point( 103, 203 ); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size( 44, 13 ); this.label9.TabIndex = 10; this.label9.Text = "Accel Y"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point( 8, 203 ); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size( 44, 13 ); this.label10.TabIndex = 9; this.label10.Text = "Accel X"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point( 207, 97 ); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size( 39, 13 ); this.label7.TabIndex = 8; this.label7.Text = "Gyro Z"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point( 103, 97 ); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size( 39, 13 ); this.label6.TabIndex = 7; this.label6.Text = "Gyro Y"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point( 8, 97 ); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size( 39, 13 ); this.label5.TabIndex = 6; this.label5.Text = "Gyro X"; // // gHeading // this.gHeading.AverageCount = 128; this.gHeading.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gHeading.Location = new System.Drawing.Point( 310, 219 ); this.gHeading.Name = "gHeading"; this.gHeading.Range = 1800F; this.gHeading.Size = new System.Drawing.Size( 91, 89 ); this.gHeading.TabIndex = 29; this.gHeading.Value = 0F; // // gMagZ // this.gMagZ.AverageCount = 128; this.gMagZ.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gMagZ.Location = new System.Drawing.Point( 203, 217 ); this.gMagZ.Name = "gMagZ"; this.gMagZ.Range = 4096F; this.gMagZ.Size = new System.Drawing.Size( 91, 89 ); this.gMagZ.TabIndex = 25; this.gMagZ.Value = 0F; // // gMagY // this.gMagY.AverageCount = 128; this.gMagY.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gMagY.Location = new System.Drawing.Point( 106, 217 ); this.gMagY.Name = "gMagY"; this.gMagY.Range = 4096F; this.gMagY.Size = new System.Drawing.Size( 91, 89 ); this.gMagY.TabIndex = 24; this.gMagY.Value = 0F; // // gMagX // this.gMagX.AverageCount = 128; this.gMagX.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gMagX.Location = new System.Drawing.Point( 9, 217 ); this.gMagX.Name = "gMagX"; this.gMagX.Range = 4096F; this.gMagX.Size = new System.Drawing.Size( 91, 89 ); this.gMagX.TabIndex = 23; this.gMagX.Value = 0F; // // gGyroTemp // this.gGyroTemp.AverageCount = 128; this.gGyroTemp.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gGyroTemp.Location = new System.Drawing.Point( 310, 111 ); this.gGyroTemp.Name = "gGyroTemp"; this.gGyroTemp.Range = 1000F; this.gGyroTemp.Size = new System.Drawing.Size( 91, 89 ); this.gGyroTemp.TabIndex = 16; this.gGyroTemp.Value = 0F; // // gAccelZ // this.gAccelZ.AverageCount = 128; this.gAccelZ.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gAccelZ.Location = new System.Drawing.Point( 203, 111 ); this.gAccelZ.Name = "gAccelZ"; this.gAccelZ.Range = 32768F; this.gAccelZ.Size = new System.Drawing.Size( 91, 89 ); this.gAccelZ.TabIndex = 5; this.gAccelZ.Value = 0F; // // gAccelY // this.gAccelY.AverageCount = 128; this.gAccelY.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gAccelY.Location = new System.Drawing.Point( 106, 111 ); this.gAccelY.Name = "gAccelY"; this.gAccelY.Range = 32768F; this.gAccelY.Size = new System.Drawing.Size( 91, 89 ); this.gAccelY.TabIndex = 4; this.gAccelY.Value = 0F; // // gAccelX // this.gAccelX.AverageCount = 128; this.gAccelX.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gAccelX.Location = new System.Drawing.Point( 9, 111 ); this.gAccelX.Name = "gAccelX"; this.gAccelX.Range = 32768F; this.gAccelX.Size = new System.Drawing.Size( 91, 89 ); this.gAccelX.TabIndex = 3; this.gAccelX.Value = 0F; // // gGyroZ // this.gGyroZ.AverageCount = 128; this.gGyroZ.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gGyroZ.Location = new System.Drawing.Point( 204, 5 ); this.gGyroZ.Name = "gGyroZ"; this.gGyroZ.Range = 32768F; this.gGyroZ.Size = new System.Drawing.Size( 91, 89 ); this.gGyroZ.TabIndex = 2; this.gGyroZ.Value = 0F; // // gGyroY // this.gGyroY.AverageCount = 128; this.gGyroY.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gGyroY.Location = new System.Drawing.Point( 106, 5 ); this.gGyroY.Name = "gGyroY"; this.gGyroY.Range = 32768F; this.gGyroY.Size = new System.Drawing.Size( 91, 89 ); this.gGyroY.TabIndex = 1; this.gGyroY.Value = 0F; // // gGyroX // this.gGyroX.AverageCount = 128; this.gGyroX.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gGyroX.Location = new System.Drawing.Point( 9, 5 ); this.gGyroX.Name = "gGyroX"; this.gGyroX.Range = 32768F; this.gGyroX.Size = new System.Drawing.Size( 91, 89 ); this.gGyroX.TabIndex = 0; this.gGyroX.Value = 0F; // // tpMotorTest // this.tpMotorTest.Controls.Add( this.lblCalibrateDocs ); this.tpMotorTest.Controls.Add( this.btnThrottleCalibrate ); this.tpMotorTest.Controls.Add( this.btnLED ); this.tpMotorTest.Controls.Add( this.btnBeeper ); this.tpMotorTest.Controls.Add( this.textBox3 ); this.tpMotorTest.Controls.Add( this.btnMotor4 ); this.tpMotorTest.Controls.Add( this.btnMotor3 ); this.tpMotorTest.Controls.Add( this.btnMotor2 ); this.tpMotorTest.Controls.Add( this.btnMotor1 ); this.tpMotorTest.Location = new System.Drawing.Point( 4, 22 ); this.tpMotorTest.Name = "tpMotorTest"; this.tpMotorTest.Size = new System.Drawing.Size( 633, 330 ); this.tpMotorTest.TabIndex = 2; this.tpMotorTest.Text = "Motor Test"; this.tpMotorTest.UseVisualStyleBackColor = true; // // lblCalibrateDocs // this.lblCalibrateDocs.Location = new System.Drawing.Point( 57, 279 ); this.lblCalibrateDocs.Name = "lblCalibrateDocs"; this.lblCalibrateDocs.Size = new System.Drawing.Size( 301, 31 ); this.lblCalibrateDocs.TabIndex = 18; this.lblCalibrateDocs.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnThrottleCalibrate // this.btnThrottleCalibrate.Location = new System.Drawing.Point( 170, 219 ); this.btnThrottleCalibrate.Name = "btnThrottleCalibrate"; this.btnThrottleCalibrate.Size = new System.Drawing.Size( 75, 47 ); this.btnThrottleCalibrate.TabIndex = 17; this.btnThrottleCalibrate.Text = "Throttle Calibration"; this.btnThrottleCalibrate.UseVisualStyleBackColor = true; this.btnThrottleCalibrate.Click += new System.EventHandler( this.btnThrottleCalibrate_Click ); // // btnLED // this.btnLED.Location = new System.Drawing.Point( 170, 161 ); this.btnLED.Name = "btnLED"; this.btnLED.Size = new System.Drawing.Size( 75, 33 ); this.btnLED.TabIndex = 5; this.btnLED.Text = "LED"; this.btnLED.UseVisualStyleBackColor = true; this.btnLED.Click += new System.EventHandler( this.btnLED_Click ); // // btnBeeper // this.btnBeeper.Location = new System.Drawing.Point( 170, 113 ); this.btnBeeper.Name = "btnBeeper"; this.btnBeeper.Size = new System.Drawing.Size( 75, 33 ); this.btnBeeper.TabIndex = 4; this.btnBeeper.Text = "Beeper"; this.btnBeeper.UseVisualStyleBackColor = true; this.btnBeeper.Click += new System.EventHandler( this.btnBeeper_Click ); // // textBox3 // this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox3.Enabled = false; this.textBox3.Location = new System.Drawing.Point( 407, 73 ); this.textBox3.Multiline = true; this.textBox3.Name = "textBox3"; this.textBox3.ReadOnly = true; this.textBox3.Size = new System.Drawing.Size( 185, 155 ); this.textBox3.TabIndex = 16; this.textBox3.Text = resources.GetString( "textBox3.Text" ); this.textBox3.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // btnMotor4 // this.btnMotor4.Image = global::Elev8.Properties.Resources.Icon_CounterClockwise; this.btnMotor4.Location = new System.Drawing.Point( 57, 209 ); this.btnMotor4.Name = "btnMotor4"; this.btnMotor4.Size = new System.Drawing.Size( 75, 67 ); this.btnMotor4.TabIndex = 3; this.btnMotor4.Text = "4"; this.btnMotor4.TextAlign = System.Drawing.ContentAlignment.BottomLeft; this.btnMotor4.UseVisualStyleBackColor = true; this.btnMotor4.Click += new System.EventHandler( this.btnMotor4_Click ); this.btnMotor4.MouseDown += new System.Windows.Forms.MouseEventHandler( this.btnMotor4_MouseDown ); this.btnMotor4.MouseUp += new System.Windows.Forms.MouseEventHandler( this.btnMotor_MouseUp ); // // btnMotor3 // this.btnMotor3.Image = global::Elev8.Properties.Resources.Icon_Clockwise; this.btnMotor3.Location = new System.Drawing.Point( 283, 209 ); this.btnMotor3.Name = "btnMotor3"; this.btnMotor3.Size = new System.Drawing.Size( 75, 67 ); this.btnMotor3.TabIndex = 2; this.btnMotor3.Text = "3"; this.btnMotor3.TextAlign = System.Drawing.ContentAlignment.BottomRight; this.btnMotor3.UseVisualStyleBackColor = true; this.btnMotor3.Click += new System.EventHandler( this.btnMotor3_Click ); this.btnMotor3.MouseDown += new System.Windows.Forms.MouseEventHandler( this.btnMotor3_MouseDown ); this.btnMotor3.MouseUp += new System.Windows.Forms.MouseEventHandler( this.btnMotor_MouseUp ); // // btnMotor2 // this.btnMotor2.Image = global::Elev8.Properties.Resources.Icon_CounterClockwise; this.btnMotor2.Location = new System.Drawing.Point( 283, 31 ); this.btnMotor2.Name = "btnMotor2"; this.btnMotor2.Size = new System.Drawing.Size( 75, 67 ); this.btnMotor2.TabIndex = 1; this.btnMotor2.Text = "2"; this.btnMotor2.TextAlign = System.Drawing.ContentAlignment.TopRight; this.btnMotor2.UseVisualStyleBackColor = true; this.btnMotor2.MouseDown += new System.Windows.Forms.MouseEventHandler( this.btnMotor2_MouseDown ); this.btnMotor2.MouseUp += new System.Windows.Forms.MouseEventHandler( this.btnMotor_MouseUp ); // // btnMotor1 // this.btnMotor1.Image = global::Elev8.Properties.Resources.Icon_Clockwise; this.btnMotor1.Location = new System.Drawing.Point( 57, 31 ); this.btnMotor1.Name = "btnMotor1"; this.btnMotor1.Size = new System.Drawing.Size( 75, 67 ); this.btnMotor1.TabIndex = 0; this.btnMotor1.Text = "1"; this.btnMotor1.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.btnMotor1.UseVisualStyleBackColor = true; this.btnMotor1.MouseDown += new System.Windows.Forms.MouseEventHandler( this.btnMotor1_MouseDown ); this.btnMotor1.MouseUp += new System.Windows.Forms.MouseEventHandler( this.btnMotor_MouseUp ); // // tpGyroCalibration // this.tpGyroCalibration.Controls.Add( this.gCalibTemp ); this.tpGyroCalibration.Controls.Add( this.gCalibZ ); this.tpGyroCalibration.Controls.Add( this.gCalibY ); this.tpGyroCalibration.Controls.Add( this.gCalibX ); this.tpGyroCalibration.Controls.Add( this.btnUploadGyroCalibration ); this.tpGyroCalibration.Controls.Add( this.btnResetGyroCal ); this.tpGyroCalibration.Controls.Add( this.groupBox10 ); this.tpGyroCalibration.Controls.Add( this.groupBox11 ); this.tpGyroCalibration.Controls.Add( this.groupBox12 ); this.tpGyroCalibration.Controls.Add( this.lfGraph ); this.tpGyroCalibration.Location = new System.Drawing.Point( 4, 22 ); this.tpGyroCalibration.Name = "tpGyroCalibration"; this.tpGyroCalibration.Size = new System.Drawing.Size( 633, 330 ); this.tpGyroCalibration.TabIndex = 3; this.tpGyroCalibration.Text = "Gyro Calibration"; this.tpGyroCalibration.UseVisualStyleBackColor = true; // // gCalibTemp // this.gCalibTemp.AverageCount = 128; this.gCalibTemp.Location = new System.Drawing.Point( 205, 238 ); this.gCalibTemp.Name = "gCalibTemp"; this.gCalibTemp.Range = 8192F; this.gCalibTemp.Size = new System.Drawing.Size( 84, 84 ); this.gCalibTemp.TabIndex = 28; this.gCalibTemp.Value = 0F; // // gCalibZ // this.gCalibZ.AverageCount = 128; this.gCalibZ.Location = new System.Drawing.Point( 514, 238 ); this.gCalibZ.Name = "gCalibZ"; this.gCalibZ.Range = 8192F; this.gCalibZ.Size = new System.Drawing.Size( 84, 84 ); this.gCalibZ.TabIndex = 27; this.gCalibZ.Value = 0F; // // gCalibY // this.gCalibY.AverageCount = 128; this.gCalibY.Location = new System.Drawing.Point( 420, 238 ); this.gCalibY.Name = "gCalibY"; this.gCalibY.Range = 8192F; this.gCalibY.Size = new System.Drawing.Size( 84, 84 ); this.gCalibY.TabIndex = 26; this.gCalibY.Value = 0F; // // gCalibX // this.gCalibX.AverageCount = 128; this.gCalibX.Location = new System.Drawing.Point( 326, 238 ); this.gCalibX.Name = "gCalibX"; this.gCalibX.Range = 8192F; this.gCalibX.Size = new System.Drawing.Size( 84, 84 ); this.gCalibX.TabIndex = 25; this.gCalibX.Value = 0F; // // btnUploadGyroCalibration // this.btnUploadGyroCalibration.Location = new System.Drawing.Point( 15, 212 ); this.btnUploadGyroCalibration.Name = "btnUploadGyroCalibration"; this.btnUploadGyroCalibration.Size = new System.Drawing.Size( 147, 23 ); this.btnUploadGyroCalibration.TabIndex = 24; this.btnUploadGyroCalibration.Text = "Upload Calibration Settings"; this.btnUploadGyroCalibration.UseVisualStyleBackColor = true; this.btnUploadGyroCalibration.Click += new System.EventHandler( this.btnUploadCalibration_Click ); // // btnResetGyroCal // this.btnResetGyroCal.Location = new System.Drawing.Point( 14, 160 ); this.btnResetGyroCal.Name = "btnResetGyroCal"; this.btnResetGyroCal.Size = new System.Drawing.Size( 147, 23 ); this.btnResetGyroCal.TabIndex = 23; this.btnResetGyroCal.Text = "Restart Calibration"; this.btnResetGyroCal.UseVisualStyleBackColor = true; this.btnResetGyroCal.Click += new System.EventHandler( this.btnResetCalib_Click ); // // groupBox10 // this.groupBox10.Controls.Add( this.label18 ); this.groupBox10.Controls.Add( this.gzOffset ); this.groupBox10.Controls.Add( this.label20 ); this.groupBox10.Controls.Add( this.gzScale ); this.groupBox10.Location = new System.Drawing.Point( 4, 95 ); this.groupBox10.Name = "groupBox10"; this.groupBox10.Size = new System.Drawing.Size( 168, 40 ); this.groupBox10.TabIndex = 22; this.groupBox10.TabStop = false; this.groupBox10.Text = "GZ"; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point( 91, 14 ); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size( 35, 13 ); this.label18.TabIndex = 11; this.label18.Text = "Offset"; this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // gzOffset // this.gzOffset.Location = new System.Drawing.Point( 132, 14 ); this.gzOffset.Name = "gzOffset"; this.gzOffset.Size = new System.Drawing.Size( 36, 13 ); this.gzOffset.TabIndex = 10; this.gzOffset.Text = "0"; this.gzOffset.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label20 // this.label20.AutoSize = true; this.label20.Location = new System.Drawing.Point( 8, 14 ); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size( 34, 13 ); this.label20.TabIndex = 8; this.label20.Text = "Scale"; this.label20.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // gzScale // this.gzScale.Location = new System.Drawing.Point( 47, 14 ); this.gzScale.Name = "gzScale"; this.gzScale.Size = new System.Drawing.Size( 36, 13 ); this.gzScale.TabIndex = 9; this.gzScale.Text = "0"; this.gzScale.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox11 // this.groupBox11.Controls.Add( this.label22 ); this.groupBox11.Controls.Add( this.gyOffset ); this.groupBox11.Controls.Add( this.label24 ); this.groupBox11.Controls.Add( this.gyScale ); this.groupBox11.Location = new System.Drawing.Point( 3, 49 ); this.groupBox11.Name = "groupBox11"; this.groupBox11.Size = new System.Drawing.Size( 169, 40 ); this.groupBox11.TabIndex = 21; this.groupBox11.TabStop = false; this.groupBox11.Text = "GY"; // // label22 // this.label22.AutoSize = true; this.label22.Location = new System.Drawing.Point( 92, 14 ); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size( 35, 13 ); this.label22.TabIndex = 11; this.label22.Text = "Offset"; this.label22.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // gyOffset // this.gyOffset.Location = new System.Drawing.Point( 133, 14 ); this.gyOffset.Name = "gyOffset"; this.gyOffset.Size = new System.Drawing.Size( 36, 13 ); this.gyOffset.TabIndex = 10; this.gyOffset.Text = "0"; this.gyOffset.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label24 // this.label24.AutoSize = true; this.label24.Location = new System.Drawing.Point( 8, 14 ); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size( 34, 13 ); this.label24.TabIndex = 8; this.label24.Text = "Scale"; this.label24.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // gyScale // this.gyScale.Location = new System.Drawing.Point( 47, 14 ); this.gyScale.Name = "gyScale"; this.gyScale.Size = new System.Drawing.Size( 36, 13 ); this.gyScale.TabIndex = 9; this.gyScale.Text = "0"; this.gyScale.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox12 // this.groupBox12.Controls.Add( this.label26 ); this.groupBox12.Controls.Add( this.gxOffset ); this.groupBox12.Controls.Add( this.label28 ); this.groupBox12.Controls.Add( this.gxScale ); this.groupBox12.Location = new System.Drawing.Point( 3, 3 ); this.groupBox12.Name = "groupBox12"; this.groupBox12.Size = new System.Drawing.Size( 169, 40 ); this.groupBox12.TabIndex = 20; this.groupBox12.TabStop = false; this.groupBox12.Text = "GX"; // // label26 // this.label26.AutoSize = true; this.label26.Location = new System.Drawing.Point( 92, 16 ); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size( 35, 13 ); this.label26.TabIndex = 7; this.label26.Text = "Offset"; this.label26.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // gxOffset // this.gxOffset.Location = new System.Drawing.Point( 133, 16 ); this.gxOffset.Name = "gxOffset"; this.gxOffset.Size = new System.Drawing.Size( 36, 13 ); this.gxOffset.TabIndex = 6; this.gxOffset.Text = "0"; this.gxOffset.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label28 // this.label28.AutoSize = true; this.label28.Location = new System.Drawing.Point( 8, 16 ); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size( 34, 13 ); this.label28.TabIndex = 4; this.label28.Text = "Scale"; this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // gxScale // this.gxScale.Location = new System.Drawing.Point( 47, 16 ); this.gxScale.Name = "gxScale"; this.gxScale.Size = new System.Drawing.Size( 36, 13 ); this.gxScale.TabIndex = 5; this.gxScale.Text = "0"; this.gxScale.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lfGraph // this.lfGraph.Location = new System.Drawing.Point( 178, 3 ); this.lfGraph.Name = "lfGraph"; this.lfGraph.Size = new System.Drawing.Size( 447, 232 ); this.lfGraph.TabIndex = 0; // // tpAccelCalibration // this.tpAccelCalibration.Controls.Add( this.groupBox6 ); this.tpAccelCalibration.Controls.Add( this.groupBox5 ); this.tpAccelCalibration.Location = new System.Drawing.Point( 4, 22 ); this.tpAccelCalibration.Name = "tpAccelCalibration"; this.tpAccelCalibration.Size = new System.Drawing.Size( 633, 330 ); this.tpAccelCalibration.TabIndex = 7; this.tpAccelCalibration.Text = "Accel Calibration"; this.tpAccelCalibration.UseVisualStyleBackColor = true; // // lblAccelCalFinal // this.lblAccelCalFinal.Location = new System.Drawing.Point( 100, 278 ); this.lblAccelCalFinal.Name = "lblAccelCalFinal"; this.lblAccelCalFinal.Size = new System.Drawing.Size( 147, 18 ); this.lblAccelCalFinal.TabIndex = 27; // // lblAccelCal4 // this.lblAccelCal4.Location = new System.Drawing.Point( 100, 241 ); this.lblAccelCal4.Name = "lblAccelCal4"; this.lblAccelCal4.Size = new System.Drawing.Size( 147, 18 ); this.lblAccelCal4.TabIndex = 26; // // lblAccelCal3 // this.lblAccelCal3.Location = new System.Drawing.Point( 100, 212 ); this.lblAccelCal3.Name = "lblAccelCal3"; this.lblAccelCal3.Size = new System.Drawing.Size( 147, 18 ); this.lblAccelCal3.TabIndex = 25; // // lblAccelCal2 // this.lblAccelCal2.Location = new System.Drawing.Point( 100, 183 ); this.lblAccelCal2.Name = "lblAccelCal2"; this.lblAccelCal2.Size = new System.Drawing.Size( 147, 18 ); this.lblAccelCal2.TabIndex = 24; // // lblAccelCal1 // this.lblAccelCal1.Location = new System.Drawing.Point( 100, 154 ); this.lblAccelCal1.Name = "lblAccelCal1"; this.lblAccelCal1.Size = new System.Drawing.Size( 147, 18 ); this.lblAccelCal1.TabIndex = 23; // // btnUploadAccelCal // this.btnUploadAccelCal.Location = new System.Drawing.Point( 8, 273 ); this.btnUploadAccelCal.Name = "btnUploadAccelCal"; this.btnUploadAccelCal.Size = new System.Drawing.Size( 75, 23 ); this.btnUploadAccelCal.TabIndex = 22; this.btnUploadAccelCal.Text = "Upload"; this.btnUploadAccelCal.UseVisualStyleBackColor = true; this.btnUploadAccelCal.Click += new System.EventHandler( this.btnUploadAccelCal_Click ); // // btnAccelCal4 // this.btnAccelCal4.Location = new System.Drawing.Point( 8, 236 ); this.btnAccelCal4.Name = "btnAccelCal4"; this.btnAccelCal4.Size = new System.Drawing.Size( 75, 23 ); this.btnAccelCal4.TabIndex = 21; this.btnAccelCal4.Text = "Reading 4"; this.btnAccelCal4.UseVisualStyleBackColor = true; this.btnAccelCal4.Click += new System.EventHandler( this.btnAccelCal4_Click ); // // btnAccelCal3 // this.btnAccelCal3.Location = new System.Drawing.Point( 8, 207 ); this.btnAccelCal3.Name = "btnAccelCal3"; this.btnAccelCal3.Size = new System.Drawing.Size( 75, 23 ); this.btnAccelCal3.TabIndex = 20; this.btnAccelCal3.Text = "Reading 3"; this.btnAccelCal3.UseVisualStyleBackColor = true; this.btnAccelCal3.Click += new System.EventHandler( this.btnAccelCal3_Click ); // // btnAccelCal2 // this.btnAccelCal2.Location = new System.Drawing.Point( 8, 178 ); this.btnAccelCal2.Name = "btnAccelCal2"; this.btnAccelCal2.Size = new System.Drawing.Size( 75, 23 ); this.btnAccelCal2.TabIndex = 19; this.btnAccelCal2.Text = "Reading 2"; this.btnAccelCal2.UseVisualStyleBackColor = true; this.btnAccelCal2.Click += new System.EventHandler( this.btnAccelCal2_Click ); // // btnAccelCal1 // this.btnAccelCal1.Location = new System.Drawing.Point( 8, 149 ); this.btnAccelCal1.Name = "btnAccelCal1"; this.btnAccelCal1.Size = new System.Drawing.Size( 75, 23 ); this.btnAccelCal1.TabIndex = 18; this.btnAccelCal1.Text = "Reading 1"; this.btnAccelCal1.UseVisualStyleBackColor = true; this.btnAccelCal1.Click += new System.EventHandler( this.btnAccelCal1_Click ); // // label37 // this.label37.AutoSize = true; this.label37.Location = new System.Drawing.Point( 198, 111 ); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size( 44, 13 ); this.label37.TabIndex = 17; this.label37.Text = "Accel Z"; // // label38 // this.label38.AutoSize = true; this.label38.Location = new System.Drawing.Point( 100, 111 ); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size( 44, 13 ); this.label38.TabIndex = 16; this.label38.Text = "Accel Y"; // // label39 // this.label39.AutoSize = true; this.label39.Location = new System.Drawing.Point( 5, 111 ); this.label39.Name = "label39"; this.label39.Size = new System.Drawing.Size( 44, 13 ); this.label39.TabIndex = 15; this.label39.Text = "Accel X"; // // gAccelZCal // this.gAccelZCal.AverageCount = 325; this.gAccelZCal.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gAccelZCal.Location = new System.Drawing.Point( 200, 19 ); this.gAccelZCal.Name = "gAccelZCal"; this.gAccelZCal.Range = 32768F; this.gAccelZCal.Size = new System.Drawing.Size( 91, 89 ); this.gAccelZCal.TabIndex = 14; this.gAccelZCal.Value = 0F; // // gAccelYCal // this.gAccelYCal.AverageCount = 325; this.gAccelYCal.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gAccelYCal.Location = new System.Drawing.Point( 103, 19 ); this.gAccelYCal.Name = "gAccelYCal"; this.gAccelYCal.Range = 32768F; this.gAccelYCal.Size = new System.Drawing.Size( 91, 89 ); this.gAccelYCal.TabIndex = 13; this.gAccelYCal.Value = 0F; // // gAccelXCal // this.gAccelXCal.AverageCount = 325; this.gAccelXCal.Font = new System.Drawing.Font( "Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.gAccelXCal.Location = new System.Drawing.Point( 6, 19 ); this.gAccelXCal.Name = "gAccelXCal"; this.gAccelXCal.Range = 32768F; this.gAccelXCal.Size = new System.Drawing.Size( 91, 89 ); this.gAccelXCal.TabIndex = 12; this.gAccelXCal.Value = 0F; // // tpIMUTest // this.tpIMUTest.Controls.Add( this.label17 ); this.tpIMUTest.Controls.Add( this.label16 ); this.tpIMUTest.Controls.Add( this.label14 ); this.tpIMUTest.Controls.Add( this.textBox4 ); this.tpIMUTest.Controls.Add( this.gYaw ); this.tpIMUTest.Controls.Add( this.gRoll ); this.tpIMUTest.Controls.Add( this.gPitch ); this.tpIMUTest.Controls.Add( this.ocOrientation ); this.tpIMUTest.Location = new System.Drawing.Point( 4, 22 ); this.tpIMUTest.Name = "tpIMUTest"; this.tpIMUTest.Size = new System.Drawing.Size( 633, 330 ); this.tpIMUTest.TabIndex = 4; this.tpIMUTest.Text = "IMU Test"; this.tpIMUTest.UseVisualStyleBackColor = true; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point( 512, 303 ); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size( 28, 13 ); this.label17.TabIndex = 23; this.label17.Text = "Yaw"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point( 568, 106 ); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size( 25, 13 ); this.label16.TabIndex = 22; this.label16.Text = "Roll"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point( 459, 106 ); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size( 31, 13 ); this.label14.TabIndex = 21; this.label14.Text = "Pitch"; // // textBox4 // this.textBox4.BorderStyle = System.Windows.Forms.BorderStyle.None; this.textBox4.Enabled = false; this.textBox4.Location = new System.Drawing.Point( 424, 122 ); this.textBox4.Multiline = true; this.textBox4.Name = "textBox4"; this.textBox4.ReadOnly = true; this.textBox4.Size = new System.Drawing.Size( 201, 82 ); this.textBox4.TabIndex = 17; this.textBox4.Text = "\r\nThe box to the left is a representation\r\nof your Elev8-FC control board. If\r\ny" + "our controller is level, the box\r\nshould be too."; this.textBox4.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // gYaw // this.gYaw.AverageCount = 128; this.gYaw.Location = new System.Drawing.Point( 481, 210 ); this.gYaw.Name = "gYaw"; this.gYaw.Range = 32768F; this.gYaw.Size = new System.Drawing.Size( 90, 90 ); this.gYaw.TabIndex = 20; this.gYaw.Value = 0F; // // gRoll // this.gRoll.AverageCount = 128; this.gRoll.Location = new System.Drawing.Point( 535, 13 ); this.gRoll.Name = "gRoll"; this.gRoll.Range = 32768F; this.gRoll.Size = new System.Drawing.Size( 90, 90 ); this.gRoll.TabIndex = 19; this.gRoll.Value = 0F; // // gPitch // this.gPitch.AverageCount = 128; this.gPitch.Location = new System.Drawing.Point( 429, 13 ); this.gPitch.Name = "gPitch"; this.gPitch.Range = 32768F; this.gPitch.Size = new System.Drawing.Size( 90, 90 ); this.gPitch.TabIndex = 18; this.gPitch.Value = 0F; // // ocOrientation // this.ocOrientation.CubeDepth = 1F; this.ocOrientation.CubeHeight = 0.2F; this.ocOrientation.CubeWidth = 1F; this.ocOrientation.Location = new System.Drawing.Point( 4, 4 ); this.ocOrientation.Name = "ocOrientation"; this.ocOrientation.Size = new System.Drawing.Size( 414, 312 ); this.ocOrientation.TabIndex = 0; // // tpIMUComp // this.tpIMUComp.Controls.Add( this.lblStatOutput ); this.tpIMUComp.Controls.Add( this.label27 ); this.tpIMUComp.Controls.Add( this.label25 ); this.tpIMUComp.Controls.Add( this.ocCompQ2 ); this.tpIMUComp.Controls.Add( this.ocCompQ1 ); this.tpIMUComp.Location = new System.Drawing.Point( 4, 22 ); this.tpIMUComp.Name = "tpIMUComp"; this.tpIMUComp.Size = new System.Drawing.Size( 633, 330 ); this.tpIMUComp.TabIndex = 5; this.tpIMUComp.Text = "IMU Compare"; this.tpIMUComp.UseVisualStyleBackColor = true; // // lblStatOutput // this.lblStatOutput.Font = new System.Drawing.Font( "Lucida Console", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)) ); this.lblStatOutput.Location = new System.Drawing.Point( 9, 215 ); this.lblStatOutput.Name = "lblStatOutput"; this.lblStatOutput.Size = new System.Drawing.Size( 616, 30 ); this.lblStatOutput.TabIndex = 4; this.lblStatOutput.Text = "Test test"; // // label27 // this.label27.AutoSize = true; this.label27.Location = new System.Drawing.Point( 324, 175 ); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size( 87, 13 ); this.label27.TabIndex = 3; this.label27.Text = "Alternate method"; this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label25 // this.label25.AutoSize = true; this.label25.Location = new System.Drawing.Point( 88, 175 ); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size( 80, 13 ); this.label25.TabIndex = 2; this.label25.Text = "Original method"; this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // ocCompQ2 // this.ocCompQ2.CubeDepth = 1.1F; this.ocCompQ2.CubeHeight = 0.2F; this.ocCompQ2.CubeWidth = 1.1F; this.ocCompQ2.Location = new System.Drawing.Point( 248, 32 ); this.ocCompQ2.Name = "ocCompQ2"; this.ocCompQ2.Size = new System.Drawing.Size( 234, 140 ); this.ocCompQ2.TabIndex = 1; // // ocCompQ1 // this.ocCompQ1.CubeDepth = 1.1F; this.ocCompQ1.CubeHeight = 0.2F; this.ocCompQ1.CubeWidth = 1.1F; this.ocCompQ1.Location = new System.Drawing.Point( 8, 32 ); this.ocCompQ1.Name = "ocCompQ1"; this.ocCompQ1.Size = new System.Drawing.Size( 234, 140 ); this.ocCompQ1.TabIndex = 0; // // tpVibration // this.tpVibration.Controls.Add( this.label32 ); this.tpVibration.Controls.Add( this.label31 ); this.tpVibration.Controls.Add( this.label30 ); this.tpVibration.Controls.Add( this.label29 ); this.tpVibration.Controls.Add( this.groupBox3 ); this.tpVibration.Controls.Add( this.groupBox2 ); this.tpVibration.Controls.Add( this.groupBox1 ); this.tpVibration.Controls.Add( this.grGyro ); this.tpVibration.Location = new System.Drawing.Point( 4, 22 ); this.tpVibration.Name = "tpVibration"; this.tpVibration.Size = new System.Drawing.Size( 633, 330 ); this.tpVibration.TabIndex = 6; this.tpVibration.Text = "Vibration Test"; this.tpVibration.UseVisualStyleBackColor = true; // // label32 // this.label32.AutoSize = true; this.label32.Location = new System.Drawing.Point( 180, 128 ); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size( 49, 13 ); this.label32.TabIndex = 27; this.label32.Text = "Variance"; // // label31 // this.label31.AutoSize = true; this.label31.Location = new System.Drawing.Point( 135, 128 ); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size( 26, 13 ); this.label31.TabIndex = 26; this.label31.Text = "Avg"; // // label30 // this.label30.AutoSize = true; this.label30.Location = new System.Drawing.Point( 80, 128 ); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size( 27, 13 ); this.label30.TabIndex = 25; this.label30.Text = "Max"; // // label29 // this.label29.AutoSize = true; this.label29.Location = new System.Drawing.Point( 25, 128 ); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size( 24, 13 ); this.label29.TabIndex = 24; this.label29.Text = "Min"; // // groupBox3 // this.groupBox3.Controls.Add( this.lblGZAvg ); this.groupBox3.Controls.Add( this.lblGZVar ); this.groupBox3.Controls.Add( this.lblGZMin ); this.groupBox3.Controls.Add( this.lblGZMax ); this.groupBox3.Location = new System.Drawing.Point( 8, 85 ); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size( 231, 40 ); this.groupBox3.TabIndex = 19; this.groupBox3.TabStop = false; this.groupBox3.Text = "GZ"; // // lblGZAvg // this.lblGZAvg.Location = new System.Drawing.Point( 118, 14 ); this.lblGZAvg.Name = "lblGZAvg"; this.lblGZAvg.Size = new System.Drawing.Size( 49, 13 ); this.lblGZAvg.TabIndex = 11; this.lblGZAvg.Text = "0.0"; this.lblGZAvg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGZVar // this.lblGZVar.Location = new System.Drawing.Point( 173, 14 ); this.lblGZVar.Name = "lblGZVar"; this.lblGZVar.Size = new System.Drawing.Size( 49, 13 ); this.lblGZVar.TabIndex = 10; this.lblGZVar.Text = "0.0"; this.lblGZVar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGZMin // this.lblGZMin.Location = new System.Drawing.Point( 8, 14 ); this.lblGZMin.Name = "lblGZMin"; this.lblGZMin.Size = new System.Drawing.Size( 49, 13 ); this.lblGZMin.TabIndex = 8; this.lblGZMin.Text = "0.0"; this.lblGZMin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGZMax // this.lblGZMax.Location = new System.Drawing.Point( 63, 14 ); this.lblGZMax.Name = "lblGZMax"; this.lblGZMax.Size = new System.Drawing.Size( 49, 13 ); this.lblGZMax.TabIndex = 9; this.lblGZMax.Text = "0.0"; this.lblGZMax.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox2 // this.groupBox2.Controls.Add( this.lblGYAvg ); this.groupBox2.Controls.Add( this.lblGYVar ); this.groupBox2.Controls.Add( this.lblGYMin ); this.groupBox2.Controls.Add( this.lblGYMax ); this.groupBox2.Location = new System.Drawing.Point( 7, 46 ); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size( 231, 40 ); this.groupBox2.TabIndex = 18; this.groupBox2.TabStop = false; this.groupBox2.Text = "GY"; // // lblGYAvg // this.lblGYAvg.Location = new System.Drawing.Point( 118, 14 ); this.lblGYAvg.Name = "lblGYAvg"; this.lblGYAvg.Size = new System.Drawing.Size( 49, 13 ); this.lblGYAvg.TabIndex = 11; this.lblGYAvg.Text = "0.0"; this.lblGYAvg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGYVar // this.lblGYVar.Location = new System.Drawing.Point( 173, 14 ); this.lblGYVar.Name = "lblGYVar"; this.lblGYVar.Size = new System.Drawing.Size( 49, 13 ); this.lblGYVar.TabIndex = 10; this.lblGYVar.Text = "0.0"; this.lblGYVar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGYMin // this.lblGYMin.Location = new System.Drawing.Point( 8, 14 ); this.lblGYMin.Name = "lblGYMin"; this.lblGYMin.Size = new System.Drawing.Size( 49, 13 ); this.lblGYMin.TabIndex = 8; this.lblGYMin.Text = "0.0"; this.lblGYMin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGYMax // this.lblGYMax.Location = new System.Drawing.Point( 63, 14 ); this.lblGYMax.Name = "lblGYMax"; this.lblGYMax.Size = new System.Drawing.Size( 49, 13 ); this.lblGYMax.TabIndex = 9; this.lblGYMax.Text = "0.0"; this.lblGYMax.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox1 // this.groupBox1.Controls.Add( this.lblGXAvg ); this.groupBox1.Controls.Add( this.lblGXVar ); this.groupBox1.Controls.Add( this.lblGXMin ); this.groupBox1.Controls.Add( this.lblGXMax ); this.groupBox1.Location = new System.Drawing.Point( 7, 7 ); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size( 231, 40 ); this.groupBox1.TabIndex = 17; this.groupBox1.TabStop = false; this.groupBox1.Text = "GX"; // // lblGXAvg // this.lblGXAvg.Location = new System.Drawing.Point( 118, 16 ); this.lblGXAvg.Name = "lblGXAvg"; this.lblGXAvg.Size = new System.Drawing.Size( 49, 13 ); this.lblGXAvg.TabIndex = 7; this.lblGXAvg.Text = "0.0"; this.lblGXAvg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGXVar // this.lblGXVar.Location = new System.Drawing.Point( 173, 16 ); this.lblGXVar.Name = "lblGXVar"; this.lblGXVar.Size = new System.Drawing.Size( 49, 13 ); this.lblGXVar.TabIndex = 6; this.lblGXVar.Text = "0.0"; this.lblGXVar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGXMin // this.lblGXMin.Location = new System.Drawing.Point( 8, 16 ); this.lblGXMin.Name = "lblGXMin"; this.lblGXMin.Size = new System.Drawing.Size( 49, 13 ); this.lblGXMin.TabIndex = 4; this.lblGXMin.Text = "0.0"; this.lblGXMin.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGXMax // this.lblGXMax.Location = new System.Drawing.Point( 63, 16 ); this.lblGXMax.Name = "lblGXMax"; this.lblGXMax.Size = new System.Drawing.Size( 49, 13 ); this.lblGXMax.TabIndex = 5; this.lblGXMax.Text = "0.0"; this.lblGXMax.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // grGyro // this.grGyro.Location = new System.Drawing.Point( 3, 144 ); this.grGyro.Name = "grGyro"; this.grGyro.Size = new System.Drawing.Size( 627, 178 ); this.grGyro.TabIndex = 0; // // tickTimer // this.tickTimer.Enabled = true; this.tickTimer.Interval = 20; this.tickTimer.Tick += new System.EventHandler( this.tickTimer_Tick ); // // stStatus // this.stStatus.Items.AddRange( new System.Windows.Forms.ToolStripItem[] { this.tsStatLabel} ); this.stStatus.Location = new System.Drawing.Point( 0, 359 ); this.stStatus.Name = "stStatus"; this.stStatus.Size = new System.Drawing.Size( 641, 22 ); this.stStatus.TabIndex = 0; this.stStatus.Text = "statusStrip1"; // // tsStatLabel // this.tsStatLabel.AutoSize = false; this.tsStatLabel.Name = "tsStatLabel"; this.tsStatLabel.Size = new System.Drawing.Size( 150, 17 ); this.tsStatLabel.Text = "Finding Elev8-FC"; // // udRollCorrection // this.udRollCorrection.DecimalPlaces = 2; this.udRollCorrection.Increment = new decimal( new int[] { 1, 0, 0, 65536} ); this.udRollCorrection.Location = new System.Drawing.Point( 165, 30 ); this.udRollCorrection.Maximum = new decimal( new int[] { 30, 0, 0, 0} ); this.udRollCorrection.Minimum = new decimal( new int[] { 30, 0, 0, -2147483648} ); this.udRollCorrection.Name = "udRollCorrection"; this.udRollCorrection.Size = new System.Drawing.Size( 76, 20 ); this.udRollCorrection.TabIndex = 28; // // label41 // this.label41.AutoSize = true; this.label41.Location = new System.Drawing.Point( 47, 32 ); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size( 106, 13 ); this.label41.TabIndex = 29; this.label41.Text = "Roll Angle Correction"; // // label42 // this.label42.AutoSize = true; this.label42.Location = new System.Drawing.Point( 47, 63 ); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size( 112, 13 ); this.label42.TabIndex = 31; this.label42.Text = "Pitch Angle Correction"; // // udPitchCorrection // this.udPitchCorrection.DecimalPlaces = 2; this.udPitchCorrection.Increment = new decimal( new int[] { 1, 0, 0, 65536} ); this.udPitchCorrection.Location = new System.Drawing.Point( 165, 61 ); this.udPitchCorrection.Maximum = new decimal( new int[] { 30, 0, 0, 0} ); this.udPitchCorrection.Minimum = new decimal( new int[] { 30, 0, 0, -2147483648} ); this.udPitchCorrection.Name = "udPitchCorrection"; this.udPitchCorrection.Size = new System.Drawing.Size( 76, 20 ); this.udPitchCorrection.TabIndex = 30; // // btnUploadAngleCorrection // this.btnUploadAngleCorrection.Location = new System.Drawing.Point( 114, 102 ); this.btnUploadAngleCorrection.Name = "btnUploadAngleCorrection"; this.btnUploadAngleCorrection.Size = new System.Drawing.Size( 75, 23 ); this.btnUploadAngleCorrection.TabIndex = 32; this.btnUploadAngleCorrection.Text = "Upload"; this.btnUploadAngleCorrection.UseVisualStyleBackColor = true; this.btnUploadAngleCorrection.Click += new System.EventHandler( this.btnUploadAngleCorrection_Click ); // // groupBox5 // this.groupBox5.Controls.Add( this.gAccelXCal ); this.groupBox5.Controls.Add( this.gAccelYCal ); this.groupBox5.Controls.Add( this.gAccelZCal ); this.groupBox5.Controls.Add( this.label39 ); this.groupBox5.Controls.Add( this.label38 ); this.groupBox5.Controls.Add( this.label37 ); this.groupBox5.Controls.Add( this.lblAccelCalFinal ); this.groupBox5.Controls.Add( this.btnAccelCal1 ); this.groupBox5.Controls.Add( this.lblAccelCal4 ); this.groupBox5.Controls.Add( this.btnAccelCal2 ); this.groupBox5.Controls.Add( this.lblAccelCal3 ); this.groupBox5.Controls.Add( this.btnAccelCal3 ); this.groupBox5.Controls.Add( this.lblAccelCal2 ); this.groupBox5.Controls.Add( this.btnAccelCal4 ); this.groupBox5.Controls.Add( this.lblAccelCal1 ); this.groupBox5.Controls.Add( this.btnUploadAccelCal ); this.groupBox5.Location = new System.Drawing.Point( 3, 3 ); this.groupBox5.Name = "groupBox5"; this.groupBox5.Size = new System.Drawing.Size( 303, 310 ); this.groupBox5.TabIndex = 33; this.groupBox5.TabStop = false; this.groupBox5.Text = "Fixed offset compensation"; // // groupBox6 // this.groupBox6.Controls.Add( this.btnUploadAngleCorrection ); this.groupBox6.Controls.Add( this.udRollCorrection ); this.groupBox6.Controls.Add( this.label41 ); this.groupBox6.Controls.Add( this.label42 ); this.groupBox6.Controls.Add( this.udPitchCorrection ); this.groupBox6.Location = new System.Drawing.Point( 312, 3 ); this.groupBox6.Name = "groupBox6"; this.groupBox6.Size = new System.Drawing.Size( 313, 137 ); this.groupBox6.TabIndex = 34; this.groupBox6.TabStop = false; this.groupBox6.Text = "Angular offset correction"; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF( 6F, 13F ); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size( 641, 381 ); this.Controls.Add( this.stStatus ); this.Controls.Add( this.tcMainTabs ); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Name = "MainForm"; this.Text = "Parallax Elev8 Flight Controller configuration"; this.Deactivate += new System.EventHandler( this.MainForm_Deactivate ); this.Activated += new System.EventHandler( this.MainForm_Activated ); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler( this.MainForm_FormClosed ); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler( this.MainForm_FormClosing ); this.tcMainTabs.ResumeLayout( false ); this.tpRadioTest.ResumeLayout( false ); this.tpRadioTest.PerformLayout(); this.groupBox4.ResumeLayout( false ); this.groupBox4.PerformLayout(); this.tpSensorTest.ResumeLayout( false ); this.tpSensorTest.PerformLayout(); this.tpMotorTest.ResumeLayout( false ); this.tpMotorTest.PerformLayout(); this.tpGyroCalibration.ResumeLayout( false ); this.groupBox10.ResumeLayout( false ); this.groupBox10.PerformLayout(); this.groupBox11.ResumeLayout( false ); this.groupBox11.PerformLayout(); this.groupBox12.ResumeLayout( false ); this.groupBox12.PerformLayout(); this.tpAccelCalibration.ResumeLayout( false ); this.tpIMUTest.ResumeLayout( false ); this.tpIMUTest.PerformLayout(); this.tpIMUComp.ResumeLayout( false ); this.tpIMUComp.PerformLayout(); this.tpVibration.ResumeLayout( false ); this.tpVibration.PerformLayout(); this.groupBox3.ResumeLayout( false ); this.groupBox2.ResumeLayout( false ); this.groupBox1.ResumeLayout( false ); this.stStatus.ResumeLayout( false ); this.stStatus.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.udRollCorrection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.udPitchCorrection)).EndInit(); this.groupBox5.ResumeLayout( false ); this.groupBox5.PerformLayout(); this.groupBox6.ResumeLayout( false ); this.groupBox6.PerformLayout(); this.ResumeLayout( false ); this.PerformLayout(); }