deplacement v6

Fork of Deplacement by Projet robot

Deplacement.h

Committer:
aure
Date:
2017-02-02
Revision:
3:965871a8c5ff
Parent:
2:7e0d789e1be8
Child:
4:bd8b50f91f81

File content as of revision 3:965871a8c5ff:

#include "m3pi/m3pi.h"
#include "mbed.h"

class Deplacement
{
 protected:
 
 int posx;
 int posy;
 float vitesse;
  m3pi m3pi;
 
 
 public:

Deplacement();//constructeur;
~Deplacement();
///////////
 void setVitesse(float v);
 void tourner_droite();   //implementer temps rotation 
 void tourner_gauche();   //implementer temps rotation
 void avancer();
 void reculer();
 void stop();
 
float getVitesse();
int getPosX();
int getPosY();
void RAZ();

    
};