openyou/emokit

headset.dequeue() is None

shihray opened this issue · 2 comments

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?

Your thread is executing before data is returned from the headset.

You need to add a check:

if packet is not None:
    print(packet)

@bschumacher I doing this before my work
my question is the data return from headset was all None
I can't get another result