Ejemplo n.º 1
0
def btn5_action():
    if state == 0:
        TTTruck.undo()
    elif state == 1:
        TTTruck.loop_rate(random.random() * 4)
    elif state == 2:
        pass
    elif state == 3:
        pass
Ejemplo n.º 2
0
def btn4_action():
    if state == 0:
        TTTruck.undo()
    elif state == 1:
        # TTTruck.stretch
        pass
    elif state == 2:
        pass
    elif state == 3:
        TTTruck.publish_global_changes()