wifi web server that doesn't slow down a robot?

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?