Exemple #1
0
def move_crane_to_top(crane_motor):
    crane_motor.run_until_stalled(180, Stop.COAST, 35)
Exemple #2
0
def move_crane_to_floor(crane_motor):
    crane_motor.run_until_stalled(-180, Stop.COAST, 35)
    move_crane_up(crane_motor, degrees=5)
Exemple #3
0
def move_crane_to_top(crane_motor):
   crane_motor.run_until_stalled(360, Stop.COAST, 35)
   move_crane_down( crane_motor, degrees = 10)
Exemple #4
0
def move_crane_to_top(crane_motor):
    crane_motor.run_until_stalled(180, Stop.COAST, 50)
    move_crane_up(crane_motor, degrees=5)
Exemple #5
0
def move_crane_to_floor(crane_motor):
    crane_motor.run_until_stalled(-180, Stop.COAST, 50)
Exemple #6
0
def run():
    crane_motor.run_until_stalled(-300, Stop.COAST, 35)
    crane_motor.run_time(720, 700)
    shared_all.move_crane_to_top(crane_motor)