Ejemplo n.º 1
0
def gotoZeroPos():
    '''
    Set all the joints to 0
    Wait some time to reach the position
    '''
    solver.clear()
    zeroPos = zeroPosition()
    push(zeroPos)
    time.sleep(5)
    pop(zeroPos)
Ejemplo n.º 2
0
def gotoZeroPos():
    '''
    Set all the joints to 0
    Wait some time to reach the position
    '''
    solver.clear()
    zeroPos = zeroPosition()
    push(zeroPos)
    time.sleep(5)
    pop(zeroPos)
Ejemplo n.º 3
0
def gotoSafePos():
    '''
    Go to the safe position
    In this position the hands are away from the base
    Wait some time to reach the position
    '''
    solver.clear()
    safePos = safePosition()
    push(safePos)
    time.sleep(5)
    pop(safePos)
Ejemplo n.º 4
0
def gotoSafePos():
    '''
    Go to the safe position
    In this position the hands are away from the base
    Wait some time to reach the position
    '''
    solver.clear()
    safePos = safePosition()
    push(safePos)
    time.sleep(5)
    pop(safePos)