def setSpeed(motor1, motor2):
    if ((motor1 == 0) and (motor2 == 0)):
        turnOffMotors()
    else:
        array.data = [motor1, motor2, 0, 0]
        controlPub.publish(array)
def setSpeed(motor1, motor2):
    if ((motor1 == 0) and (motor2 == 0)):
        turnOffMotors()
    else:
        array.data = [motor1, motor2, 0, 0]
        controlPub.publish(array)