   {
     motorTab[i]->setup();
   }*/
-  
+
   myRobot->setup();
   Serial.println("setup");
 }

Robot* myRobot;

void setup() {
  
  Serial.begin(115200);

  while (!Serial)


  Serial.println("loop");

  Serial.print("front distance ");
  Serial.println(myRobot->getDistanceFront());

  delay(100);

  Serial.print("back distance ");
  Serial.println(myRobot->getDistanceBack());

  delay(100);

  Serial.print("left distance ");
  Serial.println(myRobot->getDistanceLeft());

  delay(100);

  Serial.print("right distance ");
  Serial.println(myRobot->getDistanceRight());

  delay(2000);

}

