Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
main.cpp
- Committer:
- Alexander_Zuest
- Date:
- 2018-05-23
- Revision:
- 14:0caa7b93af7a
- Parent:
- 6:a1fd0f1374e6
- Child:
- 15:31d09ee65cf1
File content as of revision 14:0caa7b93af7a:
#include "mbed.h"
#include "Controller.h"
#include "MotorDriver.h"
#include "ReadFinalLine.h"
#include "ReadSensor.h"
#include "Mapping.h"
#include "AutoDrive.h"
#include "RouteCalculation.h"
char* route;
// inizialisieren der Karte
int map[20][10];
int main(){
printf("startup");
startup();
wait(5);
// Mapping Modus
printf("mapping");
mapping(map);
// Autodrive Modus
printf("Route wird berechnet");
route = RouteCalculation(map);
printf("Berechnung Abgeschlossen");
//wait(20);
//printf("strecke wird abgefahren");
//autoDrive(route);
}