Robyn Inmoov mini keyboard.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Markus's picture

[[home/Markus/Robynmiconoff.p


#file : home/Markus/Robynmiconoff.py edit raw
mic = 1

def input(cmd):
    # print 'python object is',msg_[service]_[method]
    cmd = msg_keyboard_keyCommand.data[0]
    print 'python data is', cmd
    
    if (cmd == "M"):
        if mic == 1:
            ear.lockOutAllGrammarExcept("robin")
            i01.mouth.speak("i'm not listening")
            global mic
            mic = 0
        elif mic == 0:
            ear.clearLock()
            i01.mouth.speak("i can hear again")
            global mic
            mic = 1
      

GroG's picture

Well done Markus,Nice  find

Well done Markus,

Nice  find with the remote mini keyboard.  Your InMoov is becoming your central home automation system too..  We need to put that kinect to good use, and have it switch on the nexus outlet for the coffee maker a get you a cup :)

Looks like you got the hang of github too.  Code snippet + Video is a great combo !