headset.dequeue() is None
shihray opened this issue · 2 comments
shihray commented
Hello, I'm trying to use a thread to do my work before start load packet using headset.dequeue()
then I can't get the packet result (it will become None)
so is that can't use thread with emokit together?
Deleted user commented
Your thread is executing before data is returned from the headset.
You need to add a check:
if packet is not None:
print(packet)
shihray commented
@bschumacher I doing this before my work
my question is the data return from headset was all None
I can't get another result