예제 #1
0
파일: stand.py 프로젝트: clarks3/uhrobocup
def standFromSit(): # Stands from sit down position.
    config.stiffnessOn()   # Turns the stiffness on.
    motionProxy.angleInterpolationWithSpeed("Body", sit3(), 0.3)
    motionProxy.angleInterpolationWithSpeed("Body", sit4(), 0.3)
    motionProxy.angleInterpolationWithSpeed("Body", stand6(), 0.65)
    motionProxy.angleInterpolationWithSpeed("Body", sit1(), 0.4)
    motionProxy.angleInterpolationWithSpeed("Body", sit2(), 0.2)
    motionProxy.angleInterpolationWithSpeed("Body", poseInt(), 1.0)
    fallcheck.checkFall()
예제 #2
0
파일: stand.py 프로젝트: clarks3/uhrobocup
def sitDown():  # Sits down from standup position.
    config.stiffnessOn()   # Turns the stiffness on.
    motionProxy.angleInterpolationWithSpeed("Body", poseInt(), 1.0)
    motionProxy.angleInterpolationWithSpeed("Body", sit2(), 1.0)
    motionProxy.angleInterpolationWithSpeed("Body", sit1(), 0.4)
    motionProxy.angleInterpolationWithSpeed("Body", stand6(), 0.7)
    motionProxy.angleInterpolationWithSpeed("Body", sit4(), 0.4)
    motionProxy.angleInterpolationWithSpeed("Body", sit5(), 0.4)
    motionProxy.angleInterpolationWithSpeed("Body", sit3(), 1.0)
    fallcheck.checkFall()
예제 #3
0
파일: stand.py 프로젝트: clarks3/uhrobocup
def standUpOnFront(): # Stands up from its belly.
    config.stiffnessOn()   # Turns the stiffness on.
    motionProxy.angleInterpolationWithSpeed("Body", standUpFront(), 0.5)
    motionProxy.angleInterpolationWithSpeed("Body", standUpFront1(), 0.5)
    motionProxy.angleInterpolationWithSpeed("Body", standUpFront2(), 1.0)
    motionProxy.angleInterpolationWithSpeed("Body", standUpFront3(), 0.1)
    motionProxy.angleInterpolationWithSpeed("Body", standUpFront4(), 0.1)
    motionProxy.angleInterpolationWithSpeed("Body", standUpFront5(), 0.1)
    fallcheck.checkFall()
    standFromSit()
    print "standing front"
예제 #4
0
파일: stand.py 프로젝트: clarks3/uhrobocup
def standUp():  # Stand up from its back.
    config.stiffnessOn()   # Turns the stiffness on.
    motionProxy.angleInterpolationWithSpeed("Body", stand(), 1.0)
    motionProxy.angleInterpolationWithSpeed("Body", stand1(), 1.0)
    motionProxy.angleInterpolationWithSpeed("Body", stand2(), 1.0)
    motionProxy.angleInterpolationWithSpeed("Body", stand3(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", stand4(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", stand5(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", stand6(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", stand7(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", stand8(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", stand9(), 0.8)
    motionProxy.angleInterpolationWithSpeed("Body", poseInt(), 0.8)
    fallcheck.checkFall()
    print "standing back"