FRC_equipe1 / Mbed 2 deprecated FRC_2019

Dependencies:   mbed

Revision:
25:033263cf832c
Parent:
24:314b1f6607c5
Child:
26:fa8a8fa175cb
--- a/Classes/Robot.cpp	Thu Jun 06 12:28:19 2019 +0000
+++ b/Classes/Robot.cpp	Thu Jun 06 12:39:55 2019 +0000
@@ -107,7 +107,9 @@
 bool Robot::surBlanc( T_CNY cny )
 {
     static const float SEUIL_CNY_G = 0.2f,
-                       SEUIL_CNY_D = 0.7f;
+                       SEUIL_CNY_D = 0.6f;
+    
+    dbug.printf("Gauche : %d\n\rDroit : %d\n\r",this->CNY_G, this->CNY_D);
     
     if( cny == Robot::CNY_GAUCHE )
         return ( this->CNY_G >= SEUIL_CNY_G );