hallo

Dependencies:   Servo mbed pixy

Fork of PES1 by Gruppe 3

Revision:
21:69ee872b8ee9
Parent:
20:a90e5b54bf7b
--- a/readCamera.cpp	Sat May 13 16:50:57 2017 +0000
+++ b/readCamera.cpp	Tue May 16 16:09:08 2017 +0000
@@ -6,7 +6,7 @@
 static int i = 0;
 static int k = 0;
 static float distance = 0;        // für dynamische Geschwindigkeit
-static float yLimit = 155;        // Punkt an dem Roboter anhalten soll
+static float yLimit = 140;        // Punkt an dem Roboter anhalten soll
 int j;
 uint16_t blocks;
 float state;
@@ -54,9 +54,6 @@
                         state = 400;
                     }
                 }
-                /*if(yAxis <= 20) {                                       // Zone mit vielen Fehlern
-                    state = 0;                                          // deshalb wird alles, was dort drin ist als "kein Klotz in Sichtweite"" gewertet 
-                }*/
             }
             i = 0;
             k = 0;