public void StopTracking()
 {
     if (sensoThread != null)
     {
         sensoThread.StopThread();
         sensoThread = null;
     }
 }
 public void StartTracking()
 {
     if (sensoThread == null)
     {
         if (UseUDP)
         {
             sensoThread = new Senso.UDPThread(SensoHost, SensoPort);
         }
         else
         {
             sensoThread = new Senso.TCPThread(SensoHost, SensoPort);
         }
         sensoThread.StartThread();
     }
 }
Beispiel #3
0
 public void StartTracking()
 {
     if (sensoThread == null)
     {
         if (UseUDP)
         {
             sensoThread = new Senso.UDPThread(SensoHost, SensoPort);
         }
         else
         {
             sensoThread = new Senso.TCPThread(SensoHost, SensoPort);
         }
         if (useIRPattern)
         {
             sensoThread.SetHeadPattern(HeadTopPattern, FacePattern);
         }
         sensoThread.StartThread();
     }
 }