from roboclaw import Roboclaw
from time import sleep

if __name__ == "__main__":
	address = 0x81
	roboclaw = Roboclaw("/dev/ttyS0",38400)
	roboclaw.Open()

	while True:
		roboclaw.ForwardM1(address,64)
		sleep(2)
		roboclaw.ForwardM1(address,0)
		sleep(2)

		roboclaw.ForwardM2(address,64)
		sleep(2)
		roboclaw.ForwardM2(address,0)
		sleep(2)
