![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
für holdor
Fork of PES by
Diff: main.cpp
- Revision:
- 22:ffd36f07c046
- Parent:
- 20:c961dc550882
- Child:
- 24:be4fd3005611
--- a/main.cpp Mon May 01 09:47:45 2017 +0000 +++ b/main.cpp Mon May 01 10:18:19 2017 +0000 @@ -53,7 +53,7 @@ while(1) { double camValue = readCamera(); - + printf("\n\rcamValue: %f\n\r",camValue); switch(state) { @@ -116,7 +116,7 @@ case 4: // Roboter erkennt gründer Klotz, Klotz wird angefahren printf("4"); - double maxWert = 0.3; // Maximale Werte für die pmL und pmR + double maxWert = 0.2; // Maximale Werte für die pmL und pmR roboter1.bandeAusweichen(); if(camValue >= 100 && camValue <200 ) { // links fahren, wenn wir Werte von 100 bis 199 haben camValue = camValue -99;