private void Form1_Shown(object sender, EventArgs e) { Console.WriteLine("Application showing"); Debug.WriteLine("Application showing debug"); visualCortex = new VisualCortex(); visualCortex.setShouldCaptureDisplayImage(true); MotorCortex.init(); artificialIntelligence = new ArtificialIntelligence(this, visualCortex); //Set fps box to 120fps aiFpsBox.SelectedIndex = 7; updateDisplayCheckBox.Checked = true; }
public void setUpdateDisplayImage(bool b) { updateDisplayImage = b; visualCortex.setShouldCaptureDisplayImage(b); }