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(); } }
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(); } }