return numpy array from tracker, port urrtmon to python3

This commit is contained in:
Olivier R-D
2013-04-29 14:01:20 +02:00
parent fd5fb0788e
commit 7070145c9b
5 changed files with 40 additions and 36 deletions

View File

@@ -294,7 +294,7 @@ class SecondaryMonitor(Thread):
"""
tstamp = self.lastpacket_timestamp
with self._dataEvent:
self._dataEvent.wait(timeout)#If we haven't received data after 0.5s there is something very wrong
self._dataEvent.wait(timeout)
if tstamp == self.lastpacket_timestamp:
raise TimeoutException("Did not receive a valid data packet from robot in {}".format(timeout) )