Code principal du projet

Dependencies:   mbed DRV8825

odo_asserv.h

Committer:
Nanaud
Date:
2020-11-03
Revision:
26:bb2b778bd351
Parent:
25:869b1c1f51a7

File content as of revision 26:bb2b778bd351:

// Nom du fichier : odo_asserv.h

// Stratégie Lucas : 10 points
// Stratégie Pharoah : 31 points
#define NbObj 17

extern int indiceStrategie;
extern int objEtape[NbObj];
extern double objX_bleu[NbObj];
extern double objX_jaune[NbObj];
extern double objY[NbObj];
extern int objRecule[NbObj];

extern bool acc;
extern bool stt;

extern double* stratX_select;
extern const double x_init_bleu;
extern const double x_init_jaune;
extern const double y_init;
extern const double O_init_bleu;
extern const double O_init_jaune; 

// 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 action;

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;