import supply_voltage
import motor
import controller


左轮 = motor.smart_motor(1, direction=True)
左轮.set_soft_break(True)
右轮 = motor.smart_motor(2, direction=False)
右轮.set_soft_break(True)
while True:
    左轮.openloop_turn(controller.get_axis(controller.LEFT_Y))
    右轮.openloop_turn(controller.get_axis(controller.RIGHT_Y))
