roboticslab-uc3m / teo-follow-me

Demo: A robotic face following and arm waving application.
1 stars 1 forks source link

Add mute/unmute microphone to this demo #40

Closed rsantos88 closed 6 years ago

rsantos88 commented 6 years ago

The idea is mute the microphone when Teo is talking something and we don't want to capture the noise.

rsantos88 commented 6 years ago

I copy this issue which involves this demo:

Here we've a limitation. We can mute or unmute the microphone by software automatically, sending the demonstration commands to speechRecognition when the robot is speaking or in a moments when we know for sure we're not going to talk. But, the problem here is what happen when the robot is waiting for an order and at the same time is doing something. E.g: Teo is following you but it's checking all the time if you are going to say "stop". Here, we can take the option to mute all the time the microphone, but we can't stop him by command voice. If we don't mute the microphone, Teo will receive to much noise and false orders.

At this point, any possible idea of how to resolve that with the work done ?

rsantos88 commented 6 years ago

Possible solutions:

rsantos88 commented 6 years ago

Other idea (I like it):

  1. (every 2 or 3 minutes) Teo: "If you want me to stop following you, please say: stop "
  2. setMic unmute (wait 2 seconds) -- You: "wait" -> setMic mute & Teo: "ok, I will stop following you..." -- You: "...." -> Teo continues following
rsantos88 commented 6 years ago

Before continue with all of this, I prefer to know what @jgvictores thinks personally

rsantos88 commented 6 years ago

As I talked with @jgvictores , we can left this demostration with this changes (see PR) by the moment: only mute the microphone when Teo is speaking but take into account that the problem aforementioned still persists

Can I close this issue?

jgvictores commented 6 years ago

Merged #42. Yes, feel free to close it.

I'll probably open new, specific issues.