 
     long laserOne = GetRange(1);
     long laserTwo = GetRange(2);
-    long laserThree = GetRange(3);
-    long laserFrour = GetRange(4);
 
     SendData("One", servoPos, laserOne);
-    SendData("Two", (servoPos+90%360), laserTwo);
-    SendData("Three", (servoPos+180%360), laserThree);
-    SendData("Four", (servoPos+270%360), laserFour);
+    SendData("Two", (servoPos+180%360), laserTwo);
 }
 
+


long GetRange(int id)
{
    if(id == 1)
    {
        return Sensor1.readRangeContinuousMillimeters();
    }

    if(id == 2)
    {
        return Sensor2.readRangeContinuousMillimeters();
    }

    if(id == 2)
    {
        return Sensor3.readRangeContinuousMillimeters();
    }

    if(id == 2)
    {
        return Sensor4.readRangeContinuousMillimeters();
    }

    return 0;

        if(data == "fast")
        {
            servoRotationAngel = servoRotationAngelFast;
            return;
        }

        if(data == "medium")
        {
            servoRotationAngel = servoRotationAngelMedium;
            return;
        }

        if(data == "detail")
        {
            servoRotationAngel = servoRotationAngelDetailed;
            return;
        }
    }
}

void SendData(String sensorName, int pos, int distance)
{
    Serial.print("Laser");
    Serial.print("|");
    Serial.print(sensorName);
    Serial.print("|");
    Serial.print(pos);
    Serial.print("|");
    Serial.println(distance);
}
