Skip to content

Commit e341032

Browse files
committed
Update TRACK3R medim motor speed
1 parent 7cb5cb0 commit e341032

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

demo/lego_official_projects/TRACK3R.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self, medium_motor=OUTPUT_A, left_motor=OUTPUT_B, right_motor=OUTPU
3535

3636
def fire_ball(self, state):
3737
if state:
38-
self.medium_motor.run_to_rel_pos(speed_sp=100, position_sp=3*360)
38+
self.medium_motor.run_to_rel_pos(speed_sp=400, position_sp=3*360)
3939
else:
4040
self.medium_motor.stop()
4141

@@ -61,6 +61,6 @@ def __init__(self, medium_motor=OUTPUT_A, left_motor=OUTPUT_B, right_motor=OUTPU
6161

6262
def move_claw(self, state):
6363
if state:
64-
self.medium_motor.run_to_rel_pos(speed_sp=40, position_sp=-75)
64+
self.medium_motor.run_to_rel_pos(speed_sp=200, position_sp=-75)
6565
else:
66-
self.medium_motor.run_to_rel_pos(speed_sp=40, position_sp=75)
66+
self.medium_motor.run_to_rel_pos(speed_sp=200, position_sp=75)

0 commit comments

Comments
 (0)