strat des robots
Fork of CRAC-Strat_2017 by
Globals/constantes.h@5:dcd817534b57, 2016-04-23 (annotated)
- Committer:
- antbig
- Date:
- Sat Apr 23 09:16:14 2016 +0000
- Revision:
- 5:dcd817534b57
- Parent:
- 1:116040d14164
- Child:
- 6:eddfa414fd11
Ajout du choix de la couleur et de l'id de la strat?gie ? utiliser via CAN
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 | 1:116040d14164 | 19 | //#define ROBOT_BIG//Indique que l'on va compiler pour le gros robot |
antbig | 1:116040d14164 | 20 | #define ROBOT_SMALL |
antbig | 1:116040d14164 | 21 | |
antbig | 5:dcd817534b57 | 22 | #ifdef ROBOT_BIG |
antbig | 5:dcd817534b57 | 23 | |
antbig | 5:dcd817534b57 | 24 | #define NOMBRE_CARTES 2 //Le nombre de carte présente sur le robot |
antbig | 5:dcd817534b57 | 25 | |
antbig | 5:dcd817534b57 | 26 | #else |
antbig | 5:dcd817534b57 | 27 | |
antbig | 5:dcd817534b57 | 28 | #define NOMBRE_CARTES 3 //Le nombre de carte présente sur le robot |
antbig | 5:dcd817534b57 | 29 | |
antbig | 5:dcd817534b57 | 30 | #endif |
antbig | 5:dcd817534b57 | 31 | |
antbig | 1:116040d14164 | 32 | |
antbig | 1:116040d14164 | 33 | |
antbig | 1:116040d14164 | 34 | #endif |