controls the motors of pibot