• Bob Houston posted an update 10 years, 9 months ago

    Here’s a link to” InMoov needs a new finger”, You Tube video and the script for it.

    def printfinger():
    sleep(5)

    inMoov.moveHead(23,90)
    inMoov.moveArm(“left”,63,90,50,10)
    inMoov.moveArm(“right”,0,90,30,10)
    inMoov.moveHand(“left”,165,0,180,180,180,90)
    inMoov.moveHand(“right”,0,0,0,0,0,90)
    sleep(2)
    inMoov.moveHead(23,90)
    inMoov.moveArm(“left”,52,90,59,10)
    inMoov.moveArm(“right”,0,90,30,10)
    inMoov.moveHand(“left”,165,0,180,180,180,90)
    inMoov.moveHand(“right”,0,0,0,0,0,90)
    sleep(3)
    #Hey what are you doing?
    inMoov.setHeadSpeed(1,1)
    inMoov.moveHead(79,45)
    mouth.speakBlocking(“i’m printing a new pinky finger”)
    sleep(1)
    inMoov.setHeadSpeed(.7,.7)
    inMoov.setArmSpeed(“left”,.7,.7,.7,.7)
    inMoov.setArmSpeed(“right”,.7,.7,.7,.7)
    inMoov.moveHead(23,90)
    inMoov.moveArm(“left”,85,90,50,10)
    inMoov.moveArm(“right”,75,65,38,10)
    inMoov.moveHand(“left”,165,160,180,180,82,90)
    inMoov.moveHand(“right”,109,0,130,160,148,90)
    sleep(2)
    #why?
    mouth.speakBlocking(“this one is broken”)
    inMoov.setHeadSpeed(.7,.7)
    inMoov.setArmSpeed(“left”,.7,.7,.7,.7)
    inMoov.moveHead(23,90)
    inMoov.moveArm(“left”,15,77,30,10)
    inMoov.moveArm(“right”,8,77,28,10)
    inMoov.moveHand(“left”,50,50,50,50,50,90)
    inMoov.moveHand(“right”,50,50,56,54,57,90)
    sleep(3)
    #don’t use the printer without asking first
    inMoov.setHeadSpeed(.9,.9)
    inMoov.moveHead(79,45)
    sleep(2)
    mouth.speakBlocking(“Okay”)
    sleep(1)

    inMoov.moveHead(90,42)
    inMoov.moveArm(“left”,18,77,38,10)
    inMoov.moveArm(“right”,8,77,28,10)
    inMoov.moveHand(“left”,50,50,50,50,50,90)
    inMoov.moveHand(“right”,50,50,50,50,50,90)

    mouth.speakBlocking(“I hope it doesn’t take too long to print it”)
    sleep(1)
    inMoov.moveHead(36,113)