Then the following line must be taking a lot of milliseconds:
sonar[currentSensor].ping_timer(echoCheck);
Put Serial.println(millis()); before and after it to see how much time it costs. Are you using any interrupt to catch the ping?
Then the following line must be taking a lot of milliseconds:
sonar[currentSensor].ping_timer(echoCheck);
Put Serial.println(millis()); before and after it to see how much time it costs. Are you using any interrupt to catch the ping?