Example #1
0
def Finished():
    visThread.stopScan()  # stop looking for the ball
    mHandler.killWalk()  # stop walking
    mot.stance()  # sit down
    mot.setHead(0, 0)  # set head straight
    time.sleep(1)  # wait until seated etc
    mot.killKnees()  # stiffness off to prevent heating
    if not gsc.getSecondaryState():  # if not penalty shootout
        gsc.close()
        audProxy.setOutputVolume(85)  # volume on
Example #2
0
def Finished():
  
    visThread.stopScan()            # stop looking for the ball
    ledProxy.off('AllLeds')         # turn off ledProxy
    mot.killWalk()                  # stop walking
    mot.stance()                    # sit down
    mot.setHead(0,0)                # set head straight
    time.sleep(1)                   # wait until seated etc
    mot.killKnees()                 # stiffness off to prevent heating
    if not sc.getSecondaryState():
        sc.close()
        audProxy.setOutputVolume(85)       # volume on