Test

Dependencies:   mbed DRV8825

odo_asserv.h

Committer:
g0dd4
Date:
2020-10-28
Revision:
26:4670968fbc63
Parent:
24:be2b2be6907b

File content as of revision 26:4670968fbc63:

// Nom du fichier : odo_asserv.h

#define NbObj 4

extern int indice;
extern int objEtape[NbObj];
extern double objX[NbObj];
extern double objY[NbObj];
extern int objRecule[NbObj];

extern bool acc;
extern bool stt;

// extern
// CODEURS
extern const double coeffGLong;
extern const double coeffDLong;
extern const double coeffGAngl;
extern const double coeffDAngl;
extern long comptG;
extern long comptD;
extern double distanceCible;
extern double consigneOrientation;
extern double cmdG;
extern double cmdD;
extern int fnc;

extern double distanceMem;
extern double distancePlus;

// Prototypes
void cdgaRise();
void cddaRise();

//ODOMETRIE
extern Ticker Ticker_asserv;
void odo1();
void odo2();
void odo3();
void asserv();
extern double x;
extern double y;
extern double O;

extern double xC;
extern double yC;
extern int etape;