From c7300846b6a1e53260da67a4294b4d8a24526ed8 Mon Sep 17 00:00:00 2001 From: Andras Schaffer Date: Sun, 29 Dec 2024 13:37:00 +0100 Subject: [PATCH] Fix ESP32-C3 Dronebridge Reset on First connect --- ExtLibs/Comms/CommsSerialPort.cs | 16 +- .../ConfigPlanner.Designer.cs | 51 +- GCSViews/ConfigurationView/ConfigPlanner.cs | 13 +- GCSViews/ConfigurationView/ConfigPlanner.resx | 3655 +++++++++-------- MainV2.cs | 18 +- 5 files changed, 1910 insertions(+), 1843 deletions(-) diff --git a/ExtLibs/Comms/CommsSerialPort.cs b/ExtLibs/Comms/CommsSerialPort.cs index 9264d256cf..c440aa74df 100644 --- a/ExtLibs/Comms/CommsSerialPort.cs +++ b/ExtLibs/Comms/CommsSerialPort.cs @@ -145,6 +145,10 @@ public void DiscardInBuffer() public void Open() { + if (espFix && _baseport is WinSerialPort) + { + ((WinSerialPort)_baseport).espFix = true; + } _baseport.Open(); } @@ -194,6 +198,8 @@ public void toggleDTR() } + public bool espFix = false; + private static readonly object locker = new object(); private static readonly Dictionary comportnamecache = new Dictionary(); @@ -407,6 +413,7 @@ public class WinSerialPort : System.IO.Ports.SerialPort, ICommsSerial { private static readonly ILog log = LogManager.GetLogger(typeof(WinSerialPort)); + public bool espFix = false; public WinSerialPort() { } @@ -471,6 +478,7 @@ protected override void Dispose(bool disposing) // 500ms write timeout - win32 api default base.WriteTimeout = 500; + if (base.IsOpen) return; @@ -491,7 +499,11 @@ protected override void Dispose(bool disposing) if (PortName.StartsWith("/")) if (!File.Exists(PortName)) - throw new Exception("No such device"); + throw new Exception("No such device"); + + + if (espFix) + base.Handshake = System.IO.Ports.Handshake.RequestToSend; try { @@ -509,6 +521,8 @@ protected override void Dispose(bool disposing) throw; } + if (espFix) + base.Handshake = System.IO.Ports.Handshake.None; } public new void Close() diff --git a/GCSViews/ConfigurationView/ConfigPlanner.Designer.cs b/GCSViews/ConfigurationView/ConfigPlanner.Designer.cs index 95b1e50c50..d168c8790b 100644 --- a/GCSViews/ConfigurationView/ConfigPlanner.Designer.cs +++ b/GCSViews/ConfigurationView/ConfigPlanner.Designer.cs @@ -122,6 +122,7 @@ private void InitializeComponent() this.CMB_mapCache = new System.Windows.Forms.ComboBox(); this.label13 = new System.Windows.Forms.Label(); this.BUT_mapCacheDir = new MissionPlanner.Controls.MyButton(); + this.CHK_rtsresetesp32 = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.NUM_tracklength)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_gcsid)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.num_linelength)).BeginInit(); @@ -134,7 +135,6 @@ private void InitializeComponent() // // CMB_ratesensors // - resources.ApplyResources(this.CMB_ratesensors, "CMB_ratesensors"); this.CMB_ratesensors.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_ratesensors.FormattingEnabled = true; this.CMB_ratesensors.Items.AddRange(new object[] { @@ -153,6 +153,7 @@ private void InitializeComponent() resources.GetString("CMB_ratesensors.Items12"), resources.GetString("CMB_ratesensors.Items13"), resources.GetString("CMB_ratesensors.Items14")}); + resources.ApplyResources(this.CMB_ratesensors, "CMB_ratesensors"); this.CMB_ratesensors.Name = "CMB_ratesensors"; this.CMB_ratesensors.SelectedIndexChanged += new System.EventHandler(this.CMB_ratesensors_SelectedIndexChanged); // @@ -163,9 +164,9 @@ private void InitializeComponent() // // CMB_videoresolutions // - resources.ApplyResources(this.CMB_videoresolutions, "CMB_videoresolutions"); this.CMB_videoresolutions.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_videoresolutions.FormattingEnabled = true; + resources.ApplyResources(this.CMB_videoresolutions, "CMB_videoresolutions"); this.CMB_videoresolutions.Name = "CMB_videoresolutions"; // // label12 @@ -199,12 +200,12 @@ private void InitializeComponent() // // NUM_tracklength // - resources.ApplyResources(this.NUM_tracklength, "NUM_tracklength"); this.NUM_tracklength.Increment = new decimal(new int[] { 100, 0, 0, 0}); + resources.ApplyResources(this.NUM_tracklength, "NUM_tracklength"); this.NUM_tracklength.Maximum = new decimal(new int[] { 200000, 0, @@ -256,7 +257,6 @@ private void InitializeComponent() // // CMB_raterc // - resources.ApplyResources(this.CMB_raterc, "CMB_raterc"); this.CMB_raterc.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_raterc.FormattingEnabled = true; this.CMB_raterc.Items.AddRange(new object[] { @@ -275,6 +275,7 @@ private void InitializeComponent() resources.GetString("CMB_raterc.Items12"), resources.GetString("CMB_raterc.Items13"), resources.GetString("CMB_raterc.Items14")}); + resources.ApplyResources(this.CMB_raterc, "CMB_raterc"); this.CMB_raterc.Name = "CMB_raterc"; this.CMB_raterc.SelectedIndexChanged += new System.EventHandler(this.CMB_raterc_SelectedIndexChanged); // @@ -300,7 +301,6 @@ private void InitializeComponent() // // CMB_ratestatus // - resources.ApplyResources(this.CMB_ratestatus, "CMB_ratestatus"); this.CMB_ratestatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_ratestatus.FormattingEnabled = true; this.CMB_ratestatus.Items.AddRange(new object[] { @@ -319,12 +319,12 @@ private void InitializeComponent() resources.GetString("CMB_ratestatus.Items12"), resources.GetString("CMB_ratestatus.Items13"), resources.GetString("CMB_ratestatus.Items14")}); + resources.ApplyResources(this.CMB_ratestatus, "CMB_ratestatus"); this.CMB_ratestatus.Name = "CMB_ratestatus"; this.CMB_ratestatus.SelectedIndexChanged += new System.EventHandler(this.CMB_ratestatus_SelectedIndexChanged); // // CMB_rateposition // - resources.ApplyResources(this.CMB_rateposition, "CMB_rateposition"); this.CMB_rateposition.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_rateposition.FormattingEnabled = true; this.CMB_rateposition.Items.AddRange(new object[] { @@ -343,12 +343,12 @@ private void InitializeComponent() resources.GetString("CMB_rateposition.Items12"), resources.GetString("CMB_rateposition.Items13"), resources.GetString("CMB_rateposition.Items14")}); + resources.ApplyResources(this.CMB_rateposition, "CMB_rateposition"); this.CMB_rateposition.Name = "CMB_rateposition"; this.CMB_rateposition.SelectedIndexChanged += new System.EventHandler(this.CMB_rateposition_SelectedIndexChanged); // // CMB_rateattitude // - resources.ApplyResources(this.CMB_rateattitude, "CMB_rateattitude"); this.CMB_rateattitude.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_rateattitude.FormattingEnabled = true; this.CMB_rateattitude.Items.AddRange(new object[] { @@ -366,6 +366,7 @@ private void InitializeComponent() resources.GetString("CMB_rateattitude.Items11"), resources.GetString("CMB_rateattitude.Items12"), resources.GetString("CMB_rateattitude.Items13")}); + resources.ApplyResources(this.CMB_rateattitude, "CMB_rateattitude"); this.CMB_rateattitude.Name = "CMB_rateattitude"; this.CMB_rateattitude.SelectedIndexChanged += new System.EventHandler(this.CMB_rateattitude_SelectedIndexChanged); // @@ -386,17 +387,17 @@ private void InitializeComponent() // // CMB_speedunits // - resources.ApplyResources(this.CMB_speedunits, "CMB_speedunits"); this.CMB_speedunits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_speedunits.FormattingEnabled = true; + resources.ApplyResources(this.CMB_speedunits, "CMB_speedunits"); this.CMB_speedunits.Name = "CMB_speedunits"; this.CMB_speedunits.SelectedIndexChanged += new System.EventHandler(this.CMB_speedunits_SelectedIndexChanged); // // CMB_distunits // - resources.ApplyResources(this.CMB_distunits, "CMB_distunits"); this.CMB_distunits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_distunits.FormattingEnabled = true; + resources.ApplyResources(this.CMB_distunits, "CMB_distunits"); this.CMB_distunits.Name = "CMB_distunits"; this.CMB_distunits.SelectedIndexChanged += new System.EventHandler(this.CMB_distunits_SelectedIndexChanged); // @@ -445,27 +446,27 @@ private void InitializeComponent() // // CMB_osdcolor // - resources.ApplyResources(this.CMB_osdcolor, "CMB_osdcolor"); this.CMB_osdcolor.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.CMB_osdcolor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_osdcolor.FormattingEnabled = true; + resources.ApplyResources(this.CMB_osdcolor, "CMB_osdcolor"); this.CMB_osdcolor.Name = "CMB_osdcolor"; this.CMB_osdcolor.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.CMB_osdcolor_DrawItem); this.CMB_osdcolor.SelectedIndexChanged += new System.EventHandler(this.CMB_osdcolor_SelectedIndexChanged); // // CMB_severity // - resources.ApplyResources(this.CMB_severity, "CMB_severity"); this.CMB_severity.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_severity.FormattingEnabled = true; + resources.ApplyResources(this.CMB_severity, "CMB_severity"); this.CMB_severity.Name = "CMB_severity"; this.CMB_severity.SelectedIndexChanged += new System.EventHandler(this.CMB_severity_SelectedIndexChanged); // // CMB_language // - resources.ApplyResources(this.CMB_language, "CMB_language"); this.CMB_language.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_language.FormattingEnabled = true; + resources.ApplyResources(this.CMB_language, "CMB_language"); this.CMB_language.Name = "CMB_language"; this.CMB_language.SelectedIndexChanged += new System.EventHandler(this.CMB_language_SelectedIndexChanged); // @@ -483,9 +484,9 @@ private void InitializeComponent() // // CHK_hudshow // - resources.ApplyResources(this.CHK_hudshow, "CHK_hudshow"); this.CHK_hudshow.Checked = true; this.CHK_hudshow.CheckState = System.Windows.Forms.CheckState.Checked; + resources.ApplyResources(this.CHK_hudshow, "CHK_hudshow"); this.CHK_hudshow.Name = "CHK_hudshow"; this.CHK_hudshow.UseVisualStyleBackColor = true; this.CHK_hudshow.CheckedChanged += new System.EventHandler(this.CHK_hudshow_CheckedChanged); @@ -497,9 +498,9 @@ private void InitializeComponent() // // CMB_videosources // - resources.ApplyResources(this.CMB_videosources, "CMB_videosources"); this.CMB_videosources.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_videosources.FormattingEnabled = true; + resources.ApplyResources(this.CMB_videosources, "CMB_videosources"); this.CMB_videosources.Name = "CMB_videosources"; this.CMB_videosources.SelectedIndexChanged += new System.EventHandler(this.CMB_videosources_SelectedIndexChanged); this.CMB_videosources.Click += new System.EventHandler(this.CMB_videosources_Click); @@ -523,9 +524,9 @@ private void InitializeComponent() // // CHK_disttohomeflightdata // - resources.ApplyResources(this.CHK_disttohomeflightdata, "CHK_disttohomeflightdata"); this.CHK_disttohomeflightdata.Checked = true; this.CHK_disttohomeflightdata.CheckState = System.Windows.Forms.CheckState.Checked; + resources.ApplyResources(this.CHK_disttohomeflightdata, "CHK_disttohomeflightdata"); this.CHK_disttohomeflightdata.Name = "CHK_disttohomeflightdata"; this.CHK_disttohomeflightdata.UseVisualStyleBackColor = true; this.CHK_disttohomeflightdata.CheckedChanged += new System.EventHandler(this.CHK_disttohomeflightdata_CheckedChanged); @@ -579,9 +580,9 @@ private void InitializeComponent() // // CMB_theme // - resources.ApplyResources(this.CMB_theme, "CMB_theme"); this.CMB_theme.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_theme.FormattingEnabled = true; + resources.ApplyResources(this.CMB_theme, "CMB_theme"); this.CMB_theme.Name = "CMB_theme"; this.CMB_theme.SelectedIndexChanged += new System.EventHandler(this.CMB_theme_SelectedIndexChanged); // @@ -677,9 +678,9 @@ private void InitializeComponent() // // CMB_Layout // - resources.ApplyResources(this.CMB_Layout, "CMB_Layout"); this.CMB_Layout.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_Layout.FormattingEnabled = true; + resources.ApplyResources(this.CMB_Layout, "CMB_Layout"); this.CMB_Layout.Name = "CMB_Layout"; this.CMB_Layout.SelectedIndexChanged += new System.EventHandler(this.CMB_Layout_SelectedIndexChanged); // @@ -713,9 +714,9 @@ private void InitializeComponent() // // CMB_altunits // - resources.ApplyResources(this.CMB_altunits, "CMB_altunits"); this.CMB_altunits.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CMB_altunits.FormattingEnabled = true; + resources.ApplyResources(this.CMB_altunits, "CMB_altunits"); this.CMB_altunits.Name = "CMB_altunits"; this.CMB_altunits.SelectedIndexChanged += new System.EventHandler(this.CMB_altunits_SelectedIndexChanged); // @@ -778,9 +779,9 @@ private void InitializeComponent() // // cmb_secondarydisplaystyle // - resources.ApplyResources(this.cmb_secondarydisplaystyle, "cmb_secondarydisplaystyle"); this.cmb_secondarydisplaystyle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmb_secondarydisplaystyle.FormattingEnabled = true; + resources.ApplyResources(this.cmb_secondarydisplaystyle, "cmb_secondarydisplaystyle"); this.cmb_secondarydisplaystyle.Name = "cmb_secondarydisplaystyle"; this.cmb_secondarydisplaystyle.SelectedIndexChanged += new System.EventHandler(this.cmb_secondarydisplaystyle_SelectedIndexChanged); // @@ -826,12 +827,12 @@ private void InitializeComponent() // // num_linelength // - resources.ApplyResources(this.num_linelength, "num_linelength"); this.num_linelength.Increment = new decimal(new int[] { 10, 0, 0, 0}); + resources.ApplyResources(this.num_linelength, "num_linelength"); this.num_linelength.Maximum = new decimal(new int[] { 2000, 0, @@ -879,12 +880,21 @@ private void InitializeComponent() // resources.ApplyResources(this.BUT_mapCacheDir, "BUT_mapCacheDir"); this.BUT_mapCacheDir.Name = "BUT_mapCacheDir"; + this.BUT_mapCacheDir.TextColorNotEnabled = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(87)))), ((int)(((byte)(4))))); this.BUT_mapCacheDir.UseVisualStyleBackColor = true; this.BUT_mapCacheDir.Click += new System.EventHandler(this.BUT_mapCacheDir_Click); // + // CHK_rtsresetesp32 + // + resources.ApplyResources(this.CHK_rtsresetesp32, "CHK_rtsresetesp32"); + this.CHK_rtsresetesp32.Name = "CHK_rtsresetesp32"; + this.CHK_rtsresetesp32.UseVisualStyleBackColor = true; + this.CHK_rtsresetesp32.CheckedChanged += new System.EventHandler(this.CHK_rtsresetesp32_CheckedChanged); + // // ConfigPlanner // resources.ApplyResources(this, "$this"); + this.Controls.Add(this.CHK_rtsresetesp32); this.Controls.Add(this.label10); this.Controls.Add(this.cmb_secondarydisplaystyle); this.Controls.Add(this.label9); @@ -1083,5 +1093,6 @@ private void InitializeComponent() private System.Windows.Forms.Label label13; public System.Windows.Forms.ComboBox CMB_mapCache; private Controls.MyButton BUT_mapCacheDir; + private System.Windows.Forms.CheckBox CHK_rtsresetesp32; } } diff --git a/GCSViews/ConfigurationView/ConfigPlanner.cs b/GCSViews/ConfigurationView/ConfigPlanner.cs index f2b39366a5..4770d7bef9 100644 --- a/GCSViews/ConfigurationView/ConfigPlanner.cs +++ b/GCSViews/ConfigurationView/ConfigPlanner.cs @@ -173,6 +173,7 @@ public void Activate() // setup other config state SetCheckboxFromConfig("CHK_resetapmonconnect", CHK_resetapmonconnect); + SetCheckboxFromConfig("CHK_rtsresetesp32", CHK_rtsresetesp32); CMB_rateattitude.Text = MainV2.comPort.MAV.cs.rateattitude.ToString(); CMB_rateposition.Text = MainV2.comPort.MAV.cs.rateposition.ToString(); @@ -620,7 +621,7 @@ private void CMB_raterc_SelectedIndexChanged(object sender, EventArgs e) CurrentState.ratercbackup = MainV2.comPort.MAV.cs.raterc; MainV2.comPort.requestDatastream(MAVLink.MAV_DATA_STREAM.RC_CHANNELS, MainV2.comPort.MAV.cs.raterc); - // request rc info + // request rc info } private void CMB_ratesensors_SelectedIndexChanged(object sender, EventArgs e) @@ -648,6 +649,14 @@ private void CHK_resetapmonconnect_CheckedChanged(object sender, EventArgs e) Settings.Instance[((CheckBox)sender).Name] = ((CheckBox)sender).Checked.ToString(); } + private void CHK_rtsresetesp32_CheckedChanged(object sender, EventArgs e) + { + Settings.Instance[((CheckBox)sender).Name] = ((CheckBox)sender).Checked.ToString(); + } + + + + private void CHK_speechaltwarning_CheckedChanged(object sender, EventArgs e) { if (startup) @@ -1121,7 +1130,7 @@ private void chk_displaytooltip_CheckedChanged(object sender, EventArgs e) { Settings.Instance["mapicondesc"] = ""; } - + } private void num_linelength_ValueChanged(object sender, EventArgs e) diff --git a/GCSViews/ConfigurationView/ConfigPlanner.resx b/GCSViews/ConfigurationView/ConfigPlanner.resx index 14d68da1d4..86448cb9e4 100644 --- a/GCSViews/ConfigurationView/ConfigPlanner.resx +++ b/GCSViews/ConfigurationView/ConfigPlanner.resx @@ -117,2804 +117,2831 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - False + + + NoControl - - 107, 166 + + 535, 254 - - 144, 17 + + 43, 13 - - $this + + + 87 - - $this + + Sensor - - - NoControl + + label33 - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 65 + + 43 - - 72 + + -1 - - 340, 554 + + 0 - - 138, 21 + + 1 - - 77 + + 2 - - 55 + + 3 - - $this + + 4 - - label93 + + 5 - - 104 + + 6 - - CHK_disttohomeflightdata + + 7 - - True + + 8 - - 81, 17 + + 9 - - label101 + + 10 - - -1 + + 25 - - Video Format + + 50 - - 60 + + 100 - - 107, 349 + + 584, 251 - - 103, 17 + + 40, 21 - - MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + 88 - - 386, 20 + + CMB_ratesensors - - CMB_ratestatus + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 56, 13 + + $this - - CHK_GDIPlus + + 44 - - 1 + + True - - Log Path + + NoControl - - True + + 9, 38 - - True + + 69, 13 - - 41 + + 86 - - 40, 21 + + Video Format - - 330, 254 + + label26 - - NoControl + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl + + $this - - 76 + + 45 - - 48 + + 107, 35 - - 6 + + 408, 21 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 44 - - 107, 326 + + CMB_videoresolutions - - NOTE: Set the low level of SEVERITY to speak + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 949, 693 + + $this - - 50 + + 46 - - label107 + + True - + NoControl - - Low Speed + + 9, 350 - - 104 + + 31, 13 - - 58 + + 84 - - 116 + + HUD - - Custom + + label12 - - 73 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - NoControl - - - True + + 48 - - $this + + NoControl - - 86 + + 107, 349 - - 32 + + 220, 17 - - 22, 13 + + 85 - - NoControl + + GDI+ (old type/no HW acceleration) - - 88 + + CHK_GDIPlus System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 20 + + $this - - 50 + + 49 - - 9, 142 + + True - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + NoControl - - True + + 9, 327 - - $this + + 57, 13 - - 43, 13 + + 82 - - NoControl + + Waypoints - - 51 + + label24 - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 88 + + 50 - - 496, 577 + + NoControl - - 81, 17 + + 107, 326 - - 115 + + 177, 17 - - chk_slowMachine + + 83 - - $this + + Load Waypoints on connect? - - 25 + + CHK_loadwponconnect - - Joystick Setup + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 559, 89 - - - Enable Speech + + 51 - - 9, 424 + + True - - 81, 17 + + NoControl - - False + + 9, 301 - - 30 + + 71, 13 - - 9 + + 81 - - 768, 500 + + Track Length - - System.Windows.Forms.MyUserControl, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + label23 - - Telemetry Rates + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - CHK_maprotation + + $this - - NoControl + + 52 - - 155, 17 + + 107, 300 - - OptOut Anon Stats + + 67, 20 - - $this + + 80 - - 53 + + NUM_tracklength - - MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 54 - - OSD Color + + True - - $this + + NoControl - - label11 + + 671, 89 - - 9 + + 81, 17 - - 9, 373 + + 79 - - 9, 171 + + Alt Warning - - 78, 13 + + False - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + CHK_speechaltwarning System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 9 - - - 81 + + $this - - 9, 327 + + 55 - - Auto Commit Params + + True - - CHK_params_bg + + NoControl - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 9, 278 - - NoControl + + 78, 13 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 45 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Connect Reset - - 110 + + label108 - - NoControl + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 113 - - - 107, 62 + + 56 - + NoControl - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 107, 277 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 217, 17 - - Alt Warning + + 46 - - Alt Units + + Reset on USB Connect (toggle DTR) - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + CHK_resetapmonconnect - - 80 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 49 + + $this - - True + + 57 - - 91, 17 + + Bottom, Left - - 249, 421 + + NoControl - - 17 + + 106, 623 - - BUT_videostart + + 155, 17 - - 107, 35 + + 47 - - 107, 195 + + Mavlink Message Debug - - 50 + + CHK_mavdebug - - 25 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 9 - - - 78 - - - 39, 13 + + 58 - + NoControl - - 3 + + 461, 254 - - True + + 22, 13 - - NoControl + + 48 - - 46 + + RC - - 64, 13 + + label107 - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 461, 254 + + 59 - - 56, 13 + + -1 - - 19 + + 0 - - ConfigPlanner + + 1 - - 87 + + 2 - - 439, 6 + + 3 - - 107, 524 + + 4 - - NoControl + + 5 - - 157, 31 + + 6 - - 26 + + 7 - - 47 + + 8 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 9 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 10 - - 50, 13 + + 25 - - $this + + 35 - - $this + + 50 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 489, 251 - - GDI+ (old type/no HW acceleration) + + 40, 21 - - 1 + + 49 - + + CMB_raterc + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - + + 60 + + NoControl - - 95 + + 330, 254 - - NoControl + + 79, 13 - - 75, 23 + + 50 - - 138, 21 + + Mode/Status label104 - - 9, 477 - - - label108 - - - 212, 89 - - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 75, 23 - - - 9, 38 - - - NoControl - - - CMB_raterc + + 61 - + NoControl - - 129, 17 + + 220, 254 - - MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + 56, 13 - - $this + + 51 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Position - - 220, 254 + + label103 - - 9, 502 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 20 + + 62 - + NoControl - - label5 + + 104, 254 - - 241, 31 + + 56, 13 - - CHK_Password + + 52 - - 436, 501 + + Attitude - - label24 + + label102 - - $this + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 44 + + $this - - 107, 222 + + 63 - - $this + + True - - 54 + + NoControl - - 52, 13 + + 9, 254 - - CHK_resetapmonconnect + + 84, 13 - - 107, 89 + + 53 - - CHK_speechbattery + + Telemetry Rates - - True + + label101 - - 92 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - label12 + + 64 - - CMB_rateattitude + + -1 - - Map Follow + + 0 - - $this + + 1 - - False + + 2 - - 469, 89 + + 3 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 4 - - 99, 23 + + 5 - - Runing on a slow computer + + 6 - - 9, 398 + + 7 - - 186, 17 + + 8 - - 120 + + 9 - - 496, 554 + + 10 - - NoControl + + 25 - - 480, 198 + + 35 - - 55 + + 50 - - 671, 554 + + 415, 251 - - label96 + + 40, 21 - - 121, 17 + + 54 - - True + + CMB_ratestatus - - 100 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 4 + + $this - - 51 + + 65 - - 99, 17 + + -1 - - 489, 251 + + 0 - - $this + + 1 - - 21 + + 2 - - 107, 448 + + 3 - - NoControl + + 4 - - 9, 527 + + 5 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 7 - - 82 + + 8 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 9 - - 107, 501 + + 10 - - 584, 251 + + 20 - - 25 + + 50 - - 94, 17 + + 100 - - True + + 282, 251 - - 75, 20 + + 40, 21 - - 83 + + 55 - - Bottom, Left + + CMB_rateposition - - True + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 67 + + $this - - CMB_osdcolor + + 66 - - 340, 623 + + -1 - - True + + 0 - - NoControl + + 1 - - 520, 10 + + 2 - - 107 + + 3 - - NoControl + + 4 - - $this + + 5 - - 107, 395 + + 6 - - $this + + 7 - + 8 - - 38 - - - NoControl - - - Show Airports + + 9 - - 44 + + 10 - - NoControl + + 50 - - 129 + + 100 - - Video Device + + 166, 251 - - -1 + + 40, 21 - - 220, 17 + + 56 - - True + + CMB_rateattitude - - 760, 89 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 107, 277 + + $this - - 85 + + 67 - - 59 + + NoControl - - 57, 13 + + 480, 198 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 241, 31 - - 65 + + 57 - - $this + + NOTE: The Configuration Tab will NOT display these units, as those are raw values. + - - 9 + + label99 - - Display ToolTip + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 45 + + $this - - num_linelength + + 68 - - 0 + + True - + NoControl - - 43, 13 + + 9, 225 - - 104 + + 65, 13 - - 67, 20 + + 58 - - True + + Speed Units - + + label98 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 79 + + $this - - 138, 21 + + 69 - + True - - CMB_Layout + + NoControl - - 96 + + 9, 198 - - 77 + + 52, 13 - - 33 + + 59 - - True + + Dist Units - - 24 + + label97 - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 105 + + 70 - - 128 + + 107, 222 - - 40, 21 + + 138, 21 - + + 60 + + + CMB_speedunits + + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 10 + + 71 - - 107, 372 + + 107, 195 - - 408, 21 + + 138, 21 - - 104 + + 61 - - CMB_videosources + + CMB_distunits - - 56, 17 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 72 - - 40, 21 + + True - - Only when Armed + + NoControl - - $this + + 9, 171 - - CHK_mavdebug + + 45, 13 - - label10 + + 62 - - 46, 13 + + Joystick - - 18 + + label96 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl - - - 72 + + $this - - 142, 17 + + 73 - - label92 + + True - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + NoControl - - 332, 89 + + 9, 90 - - 56, 17 + + 44, 13 - - label94 + + 63 - - $this + + Speech - - $this + + label95 - - 107, 139 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 9, 11 + + $this - - 8 + + 74 - - 75, 23 + + True - - $this + + NoControl - - 60 + + 559, 89 - - CMB_rateposition + + 102, 17 - - label3 + + 64 - - 2 + + Battery Warning - - $this + + False - - -1 + + CHK_speechbattery - - BUT_Vario + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 75 - - label102 + + True - + NoControl - - NoControl + + 469, 89 - - Display Turn Radius + + 81, 17 - - 35 + + 65 - - Browse + + 30s Interval - - True + + False - - $this + + CHK_speechcustom - - 69 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 31, 13 + + $this - - Waypoints + + 76 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True - - chk_displaytooltip + + NoControl - - $this + + 408, 89 - - 107, 600 + + 56, 17 - - NoControl + + 66 - - 71 + + Mode - - 57 + + False - - Joystick + + CHK_speechmode - + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - num_gcsid - - - $this + + 77 - - 68 + + True - - Dist to Home + + NoControl - - 14 + + 332, 89 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 71, 17 - - Enable HUD Overlay + + 67 - - $this + + Waypoint - - 7 + + False - - 111 + + CHK_speechwaypoint - - 85 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - label8 - - - Display Target + + 78 - - 0 + + True - - 1 + + NoControl - - 2 + + 9, 65 - - 3 + + 57, 13 - - 4 + + 68 - - 5 + + OSD Color - - 71, 13 + + label94 - - HUD + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 98 + + $this - - CHK_showairports + + 79 - - 102, 17 + + 107, 62 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 138, 21 - - 68 + + 69 - - 100 + + CMB_osdcolor - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 70 + + $this - - True + + 80 - - CMB_theme + + 107, 111 - - 100 + + 138, 21 - - -1 + + 125 - - MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + CMB_severity - + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - NoControl + + 81 - - Connect Reset + + 107, 139 - - 81, 17 + + 138, 21 - - $this + + 70 - - $this + + CMB_language - - $this + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 340, 600 + + $this - - 9 + + 82 - + True - + NoControl - - 7 - - - $this - - - 563, 501 + + 9, 142 - - 83 + + 69, 13 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 71 - - $this + + UI Language - - 25 + + label93 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 138, 21 + + 83 - + + True + + NoControl - - chk_tfr + + 107, 89 - - 103 + + 99, 17 - - chk_displaytarget + + 72 - - True + + Enable Speech - - 104, 254 + + CHK_enablespeech - + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - CMB_distunits + + 84 - + NoControl - - 109 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 520, 10 - - 117 + + 133, 18 - - label99 + + 73 - - 48 + + Enable HUD Overlay - - $this + + CHK_hudshow - - 115, 17 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - NoControl + + 85 - - 62 + + True - - 36 + + NoControl - - 75 + + 9, 11 - - 86, 17 + + 71, 13 - - 50 + + 74 - - True + + Video Device - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + label92 - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + $this + + + 86 + + + 107, 8 245, 21 - - $this + + 75 - - 61 + + CMB_videosources - + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 87 - - 9, 90 + + True - - $this + + NoControl - - 4 + + 9, 373 - - 535, 254 + + 61, 13 - - 408, 89 + + 89 - - $this + + Map Follow - - Start + + label1 - + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 3 + + 41 - - label6 + + NoControl - - CHK_hudshow + + 107, 372 - - BUT_logdirbrowse + + 205, 17 - - 27 + + 90 - - 10 + + Map is rotated to follow the plane - + + CHK_maprotation + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 4 + + 42 - - CHK_beta + + NoControl - - 47 + + 180, 303 - - Track Length + + 81, 17 - - NoControl + + 91 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Dist to Home - - True + + label2 - - True + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Inactive Aircraft + + $this - - 1 + + 39 - - True + + NoControl - - 126 + + 267, 302 - - True + + 129, 17 - - 66 + + 92 - - NoControl + + Display in Flightdata - - 89 + + CHK_disttohomeflightdata - - $this + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - ADSB + + $this - - 53 + + 40 - + NoControl - - 106, 623 + + 107, 166 - - 10 + + 99, 23 - - False + + 76 - - 9, 451 + + Joystick Setup - - 43 + + BUT_Joystick - - 69, 13 + + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - 109, 17 + + $this - - 16 + + 88 - - $this + + NoControl - - 57, 13 + + 439, 6 - - True + + 75, 23 - - 217, 17 + + 77 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Stop - - 104 + + BUT_videostop - - 138, 21 + + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - + $this - - 9, 225 - - + 89 - - 308, 501 - - + NoControl - - 64 + + 358, 6 + + + 75, 23 + + + 78 + + + Start - - True + + BUT_videostart - - Map is rotated to follow the plane + + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 123, 17 + + 90 - - chk_displaycog + + True - - 99, 20 + + NoControl - - 108 + + 9, 398 - - 99, 17 + + 50, 13 - - 3 + + 93 - - label95 + + Log Path - - Aircraft Icon + + label3 - - 177, 17 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 38 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 107, 395 - - 9, 350 + + 386, 20 - - NoControl + + 94 - - CMB_speedunits + + txt_log_dir - - Mavlink Message Debug + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Beta Updates + + $this - - 130 + + 37 - + NoControl - - Speech + + 496, 393 - - NoControl + + 75, 23 - - 9, 301 + + 95 - - NoControl + + Browse - - 63 + + BUT_logdirbrowse - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - Testing Screen + + $this - - CMB_videoresolutions + + 36 - - 84 + + True - - No RC Receiver + + NoControl - - 35 + + 9, 424 - - 31 + + 40, 13 - - 59 + + 96 - - Line Length + + Theme - - 62 + + label4 - - 29 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 35 - - 93 + + 107, 421 - - 415, 251 + + 138, 21 - - True + + 97 - - 78 + + CMB_theme - - Mode + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 1 + + $this - - Waypoint + + 34 - + NoControl - - 0 - - - 5 + + 249, 421 - - 6 + + 75, 20 - - 3 + + 98 - - 4 + + Custom - - Layout + + BUT_themecustom - - True + + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - - 7 + + $this - - 8 + + 33 - - 104 + + True - - 107, 300 + + NoControl - - 2 + + 760, 89 - - label9 + + 81, 17 - - 125 + + 99 - - 6 + + Arm/Disarm - - NoControl + + False - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + CHK_speecharmdisarm - - 81, 13 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 71, 13 + + 32 - - 0 + + NoControl - - 80 + + 107, 551 - - 76 + + 99, 20 - - BUT_Joystick + + 100 - - 74 + + Start/Stop Vario - - 75 + + BUT_Vario - - $this + + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - + $this - - $this + + 31 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True - + NoControl - - 133, 18 + + 107, 577 - - 58 + + 115, 17 - - 340, 577 + + 102 - - 7 + + OptOut Anon Stats - - True + + chk_analytics - - Battery Warning + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 138, 21 + + $this - - CMB_ratesensors + + 30 - - 94 + + True - + NoControl - - 8 - - - 7 + + 228, 577 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 91, 17 - - chk_displayheading + + 103 - - NoControl + + Beta Updates - - -1 + + CHK_beta - - 6 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 5 + + $this - - 0 + + 29 - + True - - 2 + + NoControl - - 1 + + 340, 554 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 142, 17 - - RC + + 104 - - $this + + Password Protect Config - - 104 + + CHK_Password - - 282, 251 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 50 + + $this - - 63, 13 + + 28 - - 65, 13 + + True - - chk_shownofly + + NoControl - - 79, 13 + + 853, 89 - - 138, 21 + + 80, 17 - - 107, 551 + + 105 - - 67, 20 + + Low Speed - - 124 + + False - + + CHK_speechlowspeed + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 45, 13 + + $this - - 166, 251 + + 21 - - 52 + + True - - 228, 577 + + NoControl - - 87 + + 496, 554 - - CHK_speecharmdisarm + + 91, 17 - - chk_temp + + 107 - - 79 + + Show Airports - - 107, 475 + + CHK_showairports - - 496, 393 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + $this + + + 20 + + True - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + NoControl - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 598, 554 + + + 55, 17 + + + 108 - - 100 + + ADSB + + + chk_ADSB System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - CMB_severity + + $this - - Display Nav Bearing + + 19 - + + True + + NoControl - - 663, 501 + + 496, 577 - - $this + + 54, 17 - - 102 + + 109 - - 84 + + TFR's - - 42 + + chk_tfr - - label23 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Sensor + + $this - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 18 - - CHK_speechaltwarning + + Bottom, Left - - 10 + + NoControl - - 49 + + 340, 623 - - NoControl + + 144, 17 - - NoControl + + 110 - - NoControl + + Testing Screen - - $this + + chk_temp - - 84 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 138, 21 + + $this - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17 - + True - - 66 - - + NoControl - - label1 + + 340, 577 - - chk_displaynavbearing + + 104, 17 - - 35 + + 111 - - $this + + No RC Receiver - - False + + chk_norcreceiver - - 80, 17 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - True - - - 155, 17 - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 16 - - Params Download in BackGround + + 107, 448 - - 10 + + 138, 21 - - 40 + + 113 - - 22 + + CMB_Layout - - 122 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 39 - - - MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + 15 - - CHK_speechcustom + + True - - 82 + + NoControl - - 199, 501 + + 9, 451 - - 97 + + 39, 13 - - NoControl + + 115 - - NoControl + + Layout - - cmb_secondarydisplaystyle + + label5 - - 15 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl + + $this - - 30s Interval + + 14 - - 46 + + True 598, 578 - - 55, 17 + + 123, 17 - - 11 + + 116 - - CHK_loadwponconnect + + Auto Commit Params - - Theme + + CHK_AutoParamCommit - - 71 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + $this + + + 13 + + True - - $this + + NoControl - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 671, 554 - - 28 + + 56, 17 - - 119 + + 117 + + + No Fly + + + chk_shownofly - + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 118 - - - 5 + + $this - - NoControl + + 12 - - 252, 108 + + True NoControl - - Start/Stop Vario - - - 57 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 249, 198 - - $this + + 46, 13 - - NoControl + + 118 - - chk_ADSB + + Alt Units - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + label6 - - 53, 20 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 56 + + $this - + 10 - - UI Language + + 320, 195 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 138, 21 - - Load Waypoints on connect? + + 119 - - 249, 198 + + CMB_altunits - - NoControl + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + $this - - 23 + + 11 - - 123 + + 107, 475 - - $this + + 53, 20 - - True + + 120 - - NoControl + + num_gcsid - - 70 + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 598, 554 + + $this - - NoControl + + 9 - - 91, 17 + + True - - 50 + + NoControl - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 9, 477 - - 9, 278 + + 43, 13 - - CMB_altunits + + 121 GCS ID - - 138, 21 - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + label7 - - label33 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 69 + + $this - - 90 + + 8 - - 107, 111 + + True - + NoControl - - 91 - - - False - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 107, 600 - - 358, 6 + + 186, 17 - - TFR's + + 122 - - 86 + + Params Download in BackGround - - 40, 21 + + CHK_params_bg - - 9, 65 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - $this + + 7 - - 67 + + True - - 12 + + NoControl - - Stop + + 340, 600 - - True + + 155, 17 - - NoControl + + 123 - - chk_displayradius + + Runing on a slow computer - + + chk_slowMachine + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - NoControl + + $this - + + 6 + + True - + NoControl - - 54, 17 - - - $this - - - Reset on USB Connect (toggle DTR) + + 212, 89 - - 320, 195 + + 109, 17 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 124 - - 50 + + Only when Armed - - label7 + + False - - 84, 13 + + CHK_speechArmedOnly - - label2 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 $this - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 5 - - CHK_speechwaypoint + + NoControl - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 252, 108 - - Password Protect Config + + 157, 31 - - 6 + + 126 - - 45 + + NOTE: Set the low level of SEVERITY to speak - - label98 + + label8 - - txt_log_dir + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 61, 13 + + $this - + + 4 + + + True + + NoControl - - 122, 17 + + 9, 527 - - 180, 303 + + 81, 13 - - NUM_tracklength + + 128 - - Display in Flightdata + + Inactive Aircraft - - CHK_enablespeech + + label9 - - 121 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True + + $this - - Display Heading + + 3 - - Position + + 107, 524 - - label97 + + 138, 21 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 129 - - CHK_AutoParamCommit + + cmb_secondarydisplaystyle - - 80 + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 107, 8 + + $this - - 5 + + 2 - + True - - 107, 577 - - - 9, 254 + + NoControl - - 13 + + 107, 501 - - $this + + 86, 17 - - 8 + + 104 - - System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Display COG - - 853, 89 + + chk_displaycog - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Arm/Disarm + + $this - - 9, 198 + + 27 - + True - - 56 - - - CHK_speechmode + + NoControl - - 8 + + 9, 502 - - 7 + + 64, 13 - - 6 + + 130 - - 5 + + Aircraft Icon - - 4 + + label10 - - 3 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 2 + + $this - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 1 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True - - 74 + + NoControl - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 199, 501 - - 841, 502 + + 103, 17 - - 205, 17 + + 104 - - 34 + + Display Heading - - BUT_videostop + + chk_displayheading - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 64 + + 25 - - 104, 17 + + True + + + NoControl + + + 308, 501 + + + 122, 17 + + + 104 + + + Display Nav Bearing - - Dist Units + + chk_displaynavbearing - - 61 + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 71, 17 + + $this - - True + + 24 - - False + + True - - MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + NoControl - - False + + 436, 501 - - 63 + + 121, 17 - - Display COG + + 104 - - True + + Display Turn Radius - - True + + chk_displayradius - - Attitude + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 40, 21 + + 23 - - 671, 89 + + True - - chk_norcreceiver + + NoControl - - 37 + + 563, 501 - - 2 + + 94, 17 - - CHK_speechlowspeed + + 104 - - 40, 13 + + Display Target - - Mode/Status + + chk_displaytarget - - CHK_speechArmedOnly + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - BUT_themecustom + + 22 - - chk_analytics + + 768, 500 - - 54 + + 67, 20 - - 99 + + 80 - - $this + + num_linelength - - True + + System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - CMB_language - - - label103 - - - 73 + + 53 - - 267, 302 + + True - - No Fly + + NoControl - - 81 + + 841, 502 - - label4 + + 63, 13 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 84 - - Speed Units + + Line Length - - 69, 13 + + label11 - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - label26 - - - NoControl + + 47 - + True - - Bottom, Left - - - $this + + NoControl - - $this + + 663, 501 - - 44, 13 + + 99, 17 - - 107, 421 + + 104 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Display ToolTip - - 52 + + chk_displaytooltip - - NoControl + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - NOTE: The Configuration Tab will NOT display these units, as those are raw values. - + + 26 - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 107, 653 - - 0 + + 138, 21 - - 107, 653 - - - 138, 21 - - - 127 - - + + 127 + + CMB_mapCache - + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 80 + + 92 + + + True + + + NoControl + + + 9, 656 + + + 96, 13 + + + 50 - - True - - - NoControl - - - 9, 656 - - - 96, 13 - - - 50 - - + Map Access Mode - + label13 - + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + $this - - 79 + + 91 + + + NoControl + + + 251, 653 + + + 94, 21 + + + 95 - - NoControl - - - 251, 653 - - - 94, 21 - - - 95 - - + Open Map Cache - + BUT_mapCacheDir - + MissionPlanner.Controls.MyButton, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - + $this - - 81 + + 93 + + + NoControl + + + 320, 277 + + + 251, 19 + + + 131 + + + Disable RTS reset on ESP32 SerialUSB + + + CHK_rtsresetesp32 + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 0 True - + + True + + + 949, 693 + + + ConfigPlanner + + + System.Windows.Forms.MyUserControl, MissionPlanner.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + + \ No newline at end of file diff --git a/MainV2.cs b/MainV2.cs index 4caab691b6..d076205365 100644 --- a/MainV2.cs +++ b/MainV2.cs @@ -56,7 +56,7 @@ public partial class MainV2 : Form public static menuicons displayicons; //do not initialize to allow update of custom icons public static string running_directory = Settings.GetRunningDirectory(); - + public abstract class menuicons { public abstract Image fd { get; } @@ -212,7 +212,7 @@ public override Image wizard public class highcontrastmenuicons : menuicons { private string running_directory = Settings.GetRunningDirectory(); - + public override Image fd { get @@ -723,6 +723,7 @@ public MainV2() // define default basestream comPort.BaseStream = new SerialPort(); comPort.BaseStream.BaudRate = 57600; + ((SerialPort)comPort.BaseStream).espFix = Settings.Instance.GetBoolean("CHK_rtsresetesp32", false); _connectionControl = toolStripConnectionControl.ConnectionControl; _connectionControl.CMB_baudrate.TextChanged += this.CMB_baudrate_TextChanged; @@ -901,7 +902,7 @@ public MainV2() try { DisplayConfiguration = Settings.Instance.GetDisplayView("displayview"); - //Force new view in case of saved view in config.xml + //Force new view in case of saved view in config.xml DisplayConfiguration.displayAdvancedParams = false; DisplayConfiguration.displayStandardParams = false; DisplayConfiguration.displayFullParamList = true; @@ -1448,6 +1449,8 @@ public void doConnect(MAVLinkInterface comPort, string portname, string baud, bo { _connectionControl.CMB_serialport.Text = comPort.BaseStream.PortName; _connectionControl.CMB_baudrate.Text = comPort.BaseStream.BaudRate.ToString(); + ((SerialPort)comPort.BaseStream).espFix = Settings.Instance.GetBoolean("CHK_rtsresetesp32", false); + } }); break; @@ -1513,6 +1516,8 @@ public void doConnect(MAVLinkInterface comPort, string portname, string baud, bo else { comPort.BaseStream = new SerialPort(); + ((SerialPort)comPort.BaseStream).espFix = Settings.Instance.GetBoolean("CHK_rtsresetesp32", false); + } break; } @@ -3133,7 +3138,7 @@ private async void ADSBRunner() MainV2.comPort.sendPacket(packet, MainV2.comPort.MAV.sysid, MainV2.comPort.MAV.compid); } - + } @@ -4751,6 +4756,7 @@ private void connectionListToolStripMenuItem_Click(object sender, EventArgs e) port.PortName = matches.Groups[1].Value; port.BaudRate = int.Parse(matches.Groups[2].Value); mav.BaseStream = port; + ((SerialPort)mav.BaseStream).espFix = Settings.Instance.GetBoolean("CHK_rtsresetesp32", false); mav.BaseStream.Open(); } else @@ -4774,10 +4780,10 @@ private void connectionListToolStripMenuItem_Click(object sender, EventArgs e) Comports.Add(mav); }); } - + */ - Parallel.ForEach(mavs, mav => + Parallel.ForEach(mavs, mav => { Console.WriteLine("Process connect " + mav); doConnect(mav, "preset", "0", false, false);