Example #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            datosCompartidos = new sharedData();

            wimuDevice = new HT.Wimu("COM56");//52 arduino

            if (!wimuDevice.serialPortConfigured)
            {
                MessageBox.Show("Head-tracking error!");
                return;
            }

            try
            {
                using (_eyeTrackingEngine = new EyeTrackingEngine())
                {
                    Application.Run(new EyeXWinForm(_eyeTrackingEngine, wimuDevice));
                }
            }

            catch (Exception e)
            {
                MessageBox.Show(e.ToString(), "Eye-tracking error!");
            }
        }
Example #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            datosCompartidos = new sharedData();

            wimuDevice = new HT.Wimu("COM56");//52 arduino

            if (!wimuDevice.serialPortConfigured)
            {
                MessageBox.Show("Head-tracking error!");
                return;
            }

            try
            {
                using (_eyeTrackingEngine = new EyeTrackingEngine())
                {
                    Application.Run(new EyeXWinForm(_eyeTrackingEngine, wimuDevice));
                }
            }

            catch (Exception e)
            {
                MessageBox.Show(e.ToString(), "Eye-tracking error!");
            }
        }
 public eyesDetector()
 {
     numberOfNoEyesTracked   = 0;
     maxNumberOfDataReceived = settings.maxNumberOfDataReceived;
     this.datosCompartidos   = LookAndPlayForm.Program.datosCompartidos;
 }
Example #4
0
 public eyesDetector()
 {
     numberOfNoEyesTracked = 0;
     maxNumberOfDataReceived = settings.maxNumberOfDataReceived;
     this.datosCompartidos = LookAndPlayForm.Program.datosCompartidos;
 }
Example #5
0
 public CalibrationResultForm()
 {
     this.datosCompartidos = LookAndPlayForm.Program.datosCompartidos;
     InitializeComponent();
 }
 public CalibrationResultForm()
 {
     this.datosCompartidos = LookAndPlayForm.Program.datosCompartidos;
     InitializeComponent();
 }