pour trouver l'automate de reception can
Fork of CRAC-Strat_copy by
Globals/constantes.h@11:ed13a480ddca, 2016-05-02 (annotated)
- Committer:
- antbig
- Date:
- Mon May 02 19:40:59 2016 +0000
- Revision:
- 11:ed13a480ddca
- Parent:
- 9:d0042422d95a
- Child:
- 12:14729d584500
Ajout de toutes les actions et de leurs sym?trique
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
antbig | 1:116040d14164 | 1 | #ifndef CRAC_CONSTANTES |
antbig | 1:116040d14164 | 2 | #define CRAC_CONSTANTES |
antbig | 0:ad97421fb1fb | 3 | // **************************************************************************************** |
antbig | 0:ad97421fb1fb | 4 | // * CONSTANTES SYMBOLIQUES * |
antbig | 0:ad97421fb1fb | 5 | // **************************************************************************************** |
antbig | 0:ad97421fb1fb | 6 | |
antbig | 1:116040d14164 | 7 | |
antbig | 0:ad97421fb1fb | 8 | |
antbig | 0:ad97421fb1fb | 9 | #define SIZE_FIFO 10 //Taille du buffer pour le bus CAN |
antbig | 0:ad97421fb1fb | 10 | |
antbig | 0:ad97421fb1fb | 11 | #define SIZE 750 //Taille d'une ligne du fichier |
antbig | 0:ad97421fb1fb | 12 | #define SIZE_BUFFER_FILE 150 //Taille du buffer d'instruction |
antbig | 0:ad97421fb1fb | 13 | |
antbig | 5:dcd817534b57 | 14 | |
antbig | 0:ad97421fb1fb | 15 | |
antbig | 0:ad97421fb1fb | 16 | /**** |
antbig | 0:ad97421fb1fb | 17 | ** Variable à modifier en fonction du robot |
antbig | 0:ad97421fb1fb | 18 | ***/ |
antbig | 9:d0042422d95a | 19 | //#define ROBOT_BIG//Indique que l'on va compiler pour le gros robot |
antbig | 9:d0042422d95a | 20 | #define ROBOT_SMALL |
antbig | 1:116040d14164 | 21 | |
antbig | 5:dcd817534b57 | 22 | #ifdef ROBOT_BIG |
antbig | 5:dcd817534b57 | 23 | |
antbig | 11:ed13a480ddca | 24 | #define NOMBRE_CARTES 3 //Le nombre de carte présente sur le gros robot |
antbig | 9:d0042422d95a | 25 | #define POSITION_DEBUT_X 765 |
antbig | 9:d0042422d95a | 26 | #define POSITION_DEBUT_Y 100 |
antbig | 9:d0042422d95a | 27 | #define POSITION_DEBUT_T 900 |
antbig | 5:dcd817534b57 | 28 | #else |
antbig | 5:dcd817534b57 | 29 | |
antbig | 11:ed13a480ddca | 30 | #define NOMBRE_CARTES 3 //Le nombre de carte présente sur le petit robot |
antbig | 9:d0042422d95a | 31 | #define POSITION_DEBUT_X 990 |
antbig | 9:d0042422d95a | 32 | #define POSITION_DEBUT_Y 150 |
antbig | 9:d0042422d95a | 33 | #define POSITION_DEBUT_T 0 |
antbig | 5:dcd817534b57 | 34 | #endif |
antbig | 5:dcd817534b57 | 35 | |
antbig | 1:116040d14164 | 36 | |
antbig | 1:116040d14164 | 37 | |
antbig | 1:116040d14164 | 38 | #endif |