Update hazmat_scrimmage/bioglow_robot_settings.py
This commit is contained in:
@@ -18,8 +18,8 @@ import umath
|
|||||||
hub = PrimeHub()
|
hub = PrimeHub()
|
||||||
left_motor = Motor(Port.A, Direction.COUNTERCLOCKWISE)
|
left_motor = Motor(Port.A, Direction.COUNTERCLOCKWISE)
|
||||||
right_motor = Motor(Port.B,Direction.CLOCKWISE) # Specify default direction
|
right_motor = Motor(Port.B,Direction.CLOCKWISE) # Specify default direction
|
||||||
left_arm = Motor(Port.C, Direction.CLOCKWISE, [[12,36],[12,20,24]]) # FIXED: both gear trains in ONE list
|
left_arm = Motor(Port.C, Direction.CLOCKWISE, [[20,28],[12,20]]) # FIXED: both gear trains in ONE list
|
||||||
right_arm = Motor(Port.D, Direction.CLOCKWISE,[[12,36],[12,20,24]]) #Added gear train list for gear ration
|
right_arm = Motor(Port.D, Direction.CLOCKWISE,[[20,28],[12,20]]) #Added gear train list for gear ration
|
||||||
lazer_ranger = UltrasonicSensor(Port.E)
|
lazer_ranger = UltrasonicSensor(Port.E)
|
||||||
color_sensor = ColorSensor(Port.F)
|
color_sensor = ColorSensor(Port.F)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user