v7

Dependents:   robot_final

Revision:
6:9d4190ab2739
Parent:
5:152295068384
Child:
7:fa09588320d0
--- a/Robot.cpp	Wed Mar 15 14:42:08 2017 +0000
+++ b/Robot.cpp	Thu Mar 16 13:29:05 2017 +0000
@@ -2,7 +2,7 @@
 #include "m3pi.h"
    
     m3pi m3piR; 
-    SRF05 srf(p9,p10);
+    SRF05 srf(p21,p22);
 
    Robot::Robot(){
         obstacle = false;
@@ -179,6 +179,7 @@
         }
         
         affichage.afficherObstacle(obstacle);
+    
     }
     
     void Robot::afficherObstacle(){
@@ -204,4 +205,5 @@
             wait(2);
         }
         deplacement.quartRotation();
+        
     }