mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
8bebf0c394
Convert to IActivate, IDeactivate scheme, thanks andrew add support for rfcomm* interfaces on linux fix guage off screen draw mono issue. remove use of BackStageViewContentPanel andrews spacer changes - not using dues to screen space issue change configpanel constructor to load xml directly remove IMavlink Interface fix hsi off screen draw issue on mono modify hud to use sprite fonts, instead of drawing via GDI+ modify progress reporter to use a 10hz timer to update screen, using invoke/begininvoke fails on mono at 50hz (over 100ms per call). fix targetalt and target airspeed jumping issue. lots of cleanup on tab switching, ie stoping timers/other 3dr radio status led update update ardurover car icon speedup georef image screen. tested on over 1000 images.
182 lines
8.2 KiB
C#
182 lines
8.2 KiB
C#
using ArdupilotMega.Controls;
|
|
|
|
namespace ArdupilotMega.GCSViews.ConfigurationView
|
|
{
|
|
partial class ConfigAccelerometerCalibrationQuad
|
|
{
|
|
/// <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 Component 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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigAccelerometerCalibrationQuad));
|
|
this.radioButton_Plus = new System.Windows.Forms.RadioButton();
|
|
this.radioButton_X = new System.Windows.Forms.RadioButton();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.pictureBoxPlus = new ArdupilotMega.Controls.PictureBoxWithPseudoOpacity();
|
|
this.pictureBoxX = new ArdupilotMega.Controls.PictureBoxWithPseudoOpacity();
|
|
this.BUT_levelac2 = new ArdupilotMega.Controls.MyButton();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.lineSeparator3 = new ArdupilotMega.Controls.LineSeparator();
|
|
this.lineSeparator2 = new ArdupilotMega.Controls.LineSeparator();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlus)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxX)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// radioButton_Plus
|
|
//
|
|
resources.ApplyResources(this.radioButton_Plus, "radioButton_Plus");
|
|
this.radioButton_Plus.Name = "radioButton_Plus";
|
|
this.radioButton_Plus.TabStop = true;
|
|
this.radioButton_Plus.UseVisualStyleBackColor = true;
|
|
this.radioButton_Plus.CheckedChanged += new System.EventHandler(this.RadioButtonPlusCheckedChanged);
|
|
//
|
|
// radioButton_X
|
|
//
|
|
resources.ApplyResources(this.radioButton_X, "radioButton_X");
|
|
this.radioButton_X.Name = "radioButton_X";
|
|
this.radioButton_X.TabStop = true;
|
|
this.radioButton_X.UseVisualStyleBackColor = true;
|
|
this.radioButton_X.CheckedChanged += new System.EventHandler(this.RadioButtonPlusCheckedChanged);
|
|
//
|
|
// label5
|
|
//
|
|
resources.ApplyResources(this.label5, "label5");
|
|
this.label5.ForeColor = System.Drawing.Color.WhiteSmoke;
|
|
this.label5.Name = "label5";
|
|
//
|
|
// label1
|
|
//
|
|
resources.ApplyResources(this.label1, "label1");
|
|
this.label1.ForeColor = System.Drawing.Color.WhiteSmoke;
|
|
this.label1.Name = "label1";
|
|
//
|
|
// label2
|
|
//
|
|
resources.ApplyResources(this.label2, "label2");
|
|
this.label2.Name = "label2";
|
|
//
|
|
// label3
|
|
//
|
|
resources.ApplyResources(this.label3, "label3");
|
|
this.label3.Name = "label3";
|
|
//
|
|
// pictureBoxPlus
|
|
//
|
|
this.pictureBoxPlus.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxPlus.Image = global::ArdupilotMega.Properties.Resources.frames_plus;
|
|
resources.ApplyResources(this.pictureBoxPlus, "pictureBoxPlus");
|
|
this.pictureBoxPlus.Name = "pictureBoxPlus";
|
|
this.pictureBoxPlus.TabStop = false;
|
|
this.pictureBoxPlus.Click += new System.EventHandler(this.pictureBox_Click);
|
|
//
|
|
// pictureBoxX
|
|
//
|
|
this.pictureBoxX.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.pictureBoxX.Image = global::ArdupilotMega.Properties.Resources.frames_x;
|
|
resources.ApplyResources(this.pictureBoxX, "pictureBoxX");
|
|
this.pictureBoxX.Name = "pictureBoxX";
|
|
this.pictureBoxX.TabStop = false;
|
|
this.pictureBoxX.Click += new System.EventHandler(this.pictureBox_Click);
|
|
//
|
|
// BUT_levelac2
|
|
//
|
|
resources.ApplyResources(this.BUT_levelac2, "BUT_levelac2");
|
|
this.BUT_levelac2.Name = "BUT_levelac2";
|
|
this.BUT_levelac2.UseVisualStyleBackColor = true;
|
|
this.BUT_levelac2.Click += new System.EventHandler(this.BUT_levelac2_Click);
|
|
//
|
|
// label4
|
|
//
|
|
resources.ApplyResources(this.label4, "label4");
|
|
this.label4.Name = "label4";
|
|
//
|
|
// lineSeparator3
|
|
//
|
|
resources.ApplyResources(this.lineSeparator3, "lineSeparator3");
|
|
this.lineSeparator3.MaximumSize = new System.Drawing.Size(2000, 2);
|
|
this.lineSeparator3.MinimumSize = new System.Drawing.Size(0, 2);
|
|
this.lineSeparator3.Name = "lineSeparator3";
|
|
this.lineSeparator3.Opacity1 = 0.6F;
|
|
this.lineSeparator3.Opacity2 = 0.7F;
|
|
this.lineSeparator3.Opacity3 = 0.1F;
|
|
this.lineSeparator3.PrimaryColor = System.Drawing.Color.Black;
|
|
this.lineSeparator3.SecondaryColor = System.Drawing.Color.Gainsboro;
|
|
//
|
|
// lineSeparator2
|
|
//
|
|
resources.ApplyResources(this.lineSeparator2, "lineSeparator2");
|
|
this.lineSeparator2.MaximumSize = new System.Drawing.Size(2000, 2);
|
|
this.lineSeparator2.MinimumSize = new System.Drawing.Size(0, 2);
|
|
this.lineSeparator2.Name = "lineSeparator2";
|
|
this.lineSeparator2.Opacity1 = 0.6F;
|
|
this.lineSeparator2.Opacity2 = 0.7F;
|
|
this.lineSeparator2.Opacity3 = 0.1F;
|
|
this.lineSeparator2.PrimaryColor = System.Drawing.Color.Black;
|
|
this.lineSeparator2.SecondaryColor = System.Drawing.Color.Gainsboro;
|
|
//
|
|
// ConfigAccelerometerCalibrationQuad
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.lineSeparator2);
|
|
this.Controls.Add(this.lineSeparator3);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.label5);
|
|
this.Controls.Add(this.radioButton_X);
|
|
this.Controls.Add(this.radioButton_Plus);
|
|
this.Controls.Add(this.pictureBoxPlus);
|
|
this.Controls.Add(this.pictureBoxX);
|
|
this.Controls.Add(this.BUT_levelac2);
|
|
this.Name = "ConfigAccelerometerCalibrationQuad";
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxPlus)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxX)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private PictureBoxWithPseudoOpacity pictureBoxX;
|
|
private ArdupilotMega.Controls.MyButton BUT_levelac2;
|
|
private PictureBoxWithPseudoOpacity pictureBoxPlus;
|
|
private System.Windows.Forms.RadioButton radioButton_Plus;
|
|
private System.Windows.Forms.RadioButton radioButton_X;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private LineSeparator lineSeparator3;
|
|
private LineSeparator lineSeparator2;
|
|
}
|
|
}
|