RainbowTeam / Mbed 2 deprecated ProjectTheseus

Dependencies:   mbed

Revision:
14:0caa7b93af7a
Parent:
6:a1fd0f1374e6
Child:
15:31d09ee65cf1
--- a/main.cpp	Tue May 08 12:32:31 2018 +0000
+++ b/main.cpp	Wed May 23 11:50:58 2018 +0000
@@ -6,28 +6,33 @@
 #include "Mapping.h"
 #include "AutoDrive.h"
 #include "RouteCalculation.h"
-#include "SDFileSystem.h"
-#include "FATFileSystem.h"
-#include "ff.h"
+
+
+char* route;
+
+// inizialisieren der Karte
+int map[20][10];
+
 
 
 
-//char route[];
-
-int main()
-{
+int main(){
+    printf("startup");
     startup();
+    wait(5);
     
     // Mapping Modus
-    mapping();
+    printf("mapping");
+    mapping(map);
     
-    // Schalter einbinden!
     
     // Autodrive Modus
-    /*
-    startup();
-    Route = RouteCalculation();
-    AutoDrive(Route);
-    */
+    printf("Route wird berechnet");
+    route = RouteCalculation(map);
+    printf("Berechnung Abgeschlossen");
+    //wait(20);
+    //printf("strecke wird abgefahren");
+    //autoDrive(route);
+    
 }