deplacement v6

Fork of Deplacement by Projet robot

Revision:
3:965871a8c5ff
Parent:
2:7e0d789e1be8
Child:
4:bd8b50f91f81
--- a/Deplacement.cpp	Thu Feb 02 10:37:03 2017 +0000
+++ b/Deplacement.cpp	Thu Feb 02 10:53:40 2017 +0000
@@ -56,6 +56,11 @@
     posy--;
 }
 
+void Deplacement::stop()
+{
+    m3pi.stop();    
+}
+
 void Deplacement::RAZ()
 {
     posx=0;   
@@ -64,6 +69,15 @@
    
   } 
 
+float Deplacement::getVitesse()
+{return(this->vitesse);
+    }
+int Deplacement::getPosX()
+{ return(this->posx);
+    }
+int Deplacement::getPosY()
+{   return(this->posy);
+    }