   delay(100);  //delay of .1 seconds so that you do not compile errors
   // find_red2();
   // setTime(7,0,0,1,1,1);    // (hr,min,sec,day,month,yr)
+
+
+//  translateCart(0,1);
+  //translateCart(1,1);
+  gridInit();
 
 }
 /*

  }
}

//update solar panel values
void updateSolar() {
  for (int i = 0; i < 9; i++) {
    solar[i] = analogRead(solar_pins[i]);
    delay(50);
  }
}

//display updated solar panel values
void solarInfoDisplay() {
  Serial.println("Solar Display: ");
  for (int i = 0; i < 9; i++) {
    Serial.print("Solar Pin ");
    Serial.print(i);
    Serial.print(" : ");
    Serial.print(solar[i]);
    Serial.print("     ");
    delay(50);

    Serial.println();
  }
}

//update sonar sensor values in terms of distance
void updateSonar() {
  for (int i = 0; i < 6; i++) {
    //cm[i]=sonar[i].ping_cm();
    unsigned int uS = sonar[i].ping();
    cm[i] = sonar[i].convert_cm(uS);
    delay(50);

    Serial.println(cm[i]);




  }
*/
void loop() {
 //motospd(0,40,40);
//Pixy_Align();
//updateSonar();
//sonarInfoDisplay();
//Do_Thingy();
//Go_To_Object();
//wheel_speeds(40,0);
//motospd(40,40,40);
//translateCart(0,1);

//velocity_calib();
//Serial.println(velocity);

reset_path(); //first you reset path
reset_lists(); //then reset list
update_grid(boxLocation[0],boxLocation[1],18,0); //then update grid for obstacles 
 FindPath(boxLocation[0],boxLocation[1],18,0); // then find the path based on updated grid
      show_Grid(); //then show the vidualized grid
translateCart(path[path.size()-1]->posx,path[path.size()-1]->posy);
delay(5000);

}
void Do_Thingy(){
  boolean aligned = false;
