conema / Choregraphe-GA

Choregraphe python box with Google Assistant integration (NAO/Zora robot)
http://hri.unica.it
GNU Lesser General Public License v3.0
4 stars 4 forks source link

#Get mic data from thread alway empty #1

Open GTMtremolo opened 3 years ago

GTMtremolo commented 3 years ago

Get mic data from thread data = self.q.get_nowait()

this data is not returned in nao V6

GTMtremolo commented 3 years ago

may be my nao robot not install ASLA, so how to insall it?

conema commented 3 years ago

Hi @GTMtremolo, currently I don't have a NAO, so I can't give you precise indications. It's strange that ALSA isn't installed, did you try to ssh into the robot and give the "arecord", "aplay" or "alsamixer" commands? Did they work?

Alternatively, you can install alsa from source or by the package manager included in the NAO linux, or use the ALAudioDevice naoqi module.

PS: note that the ALSA package is available only if you use a real robot, it won't work in the simulator