code petit robot pour homologation
Fork of CRAC-Strat_2017_V2 by
Globals/constantes.h@8:0edc7dfb7f7e, 2016-04-27 (annotated)
- Committer:
- antbig
- Date:
- Wed Apr 27 13:05:03 2016 +0000
- Revision:
- 8:0edc7dfb7f7e
- Parent:
- 6:eddfa414fd11
- Child:
- 9:d0042422d95a
D?but des actions du gros robot
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 | 8:0edc7dfb7f7e | 19 | #define ROBOT_BIG//Indique que l'on va compiler pour le gros robot |
antbig | 8:0edc7dfb7f7e | 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 | 6:eddfa414fd11 | 28 | #define NOMBRE_CARTES 2 //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 |