mmm
Dependencies: mbed StrategieLib BrasLib AnalyseDistanceLib BrasPousserLib EcranLib PompeLib DemarreurLib Asservissment_robot2_v16_05 AnalyseArcLib
Diff: main.cpp
- Revision:
- 6:4f7f2d8a7cf8
- Parent:
- 5:10193f156c3f
--- a/main.cpp Fri May 24 21:48:01 2019 +0000 +++ b/main.cpp Sun May 26 14:59:56 2019 +0000 @@ -68,7 +68,7 @@ return 0; } - //pc.printf("SystemCoreClock is %d Hz\r\n", SystemCoreClock); + pc.printf("SystemCoreClock is %d Hz\r\n", SystemCoreClock); afficherEcranCallback.attach(afficherEcran); afficherCapteursCallback.attach(recupererCapteurs); @@ -76,12 +76,11 @@ serial.read((uint8_t*)buffer, TAILLE, afficherEcranCallback, SERIAL_EVENT_RX_COMPLETE); capteursUART.read((uint8_t*)bufferCapteurs, TAILLEBUFFERCAPTEURS, afficherCapteursCallback, SERIAL_EVENT_RX_COMPLETE); - setEmplacementTest(); + /*setEmplacementTest(); init_odometrie(); typeEvitement = ARC; wait(10); - robot.va_au_point(200000,30000,0.0); - robot.va_au_point(200000,15000,-90); + robot.va_au_point(100000,30000,0.0);*/ while(1) { if(detectionUltrasons)