carte_strategie_2019
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Globals/constantes.h@57:082ecdf02a98, 2019-05-23 (annotated)
- Committer:
- kyxstark
- Date:
- Thu May 23 10:16:44 2019 +0000
- Revision:
- 57:082ecdf02a98
- Parent:
- 56:95c329e42200
- Child:
- 62:c4863b4b2543
update define big/small
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 | // **************************************************************************************** |
Sitkah | 35:742dc6b200b0 | 6 | #define ESPACE_INTER_TELEMETRE 151.87 |
antbig | 1:116040d14164 | 7 | |
antbig | 0:ad97421fb1fb | 8 | |
ClementBreteau | 14:c8fc06c4887f | 9 | #define SIZE_FIFO 50 //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 | |
ClementBreteau | 15:c2fc239e85df | 14 | |
antbig | 0:ad97421fb1fb | 15 | /**** |
antbig | 0:ad97421fb1fb | 16 | ** Variable à modifier en fonction du robot |
antbig | 0:ad97421fb1fb | 17 | ***/ |
kyxstark | 57:082ecdf02a98 | 18 | |
kyxstark | 57:082ecdf02a98 | 19 | //------------------------------------sellection Robot--------------------- |
kyxstark | 57:082ecdf02a98 | 20 | //#define ROBOT_BIG //Si commenté Petit Robot, si Décommenter Gros Robot |
kyxstark | 57:082ecdf02a98 | 21 | |
kyxstark | 57:082ecdf02a98 | 22 | #ifndef ROBOT_BIG // !!!!!!!! ne pas commenter |
kyxstark | 57:082ecdf02a98 | 23 | #define ROBOT_SMALL // !!!!!!!! ne pas commenter |
kyxstark | 57:082ecdf02a98 | 24 | #endif // !!!!!!!! ne pas commenter |
kyxstark | 57:082ecdf02a98 | 25 | |
kyxstark | 57:082ecdf02a98 | 26 | //------------------------------------------------------------------------- |
kyxstark | 57:082ecdf02a98 | 27 | |
antbig | 1:116040d14164 | 28 | |
antbig | 5:dcd817534b57 | 29 | #ifdef ROBOT_BIG |
antbig | 5:dcd817534b57 | 30 | |
Sitkah | 38:76f886a1c8e6 | 31 | #define NOMBRE_CARTES 2//Le nombre de carte présente sur le gros robot |
ClementBreteau | 14:c8fc06c4887f | 32 | //#define POSITION_DEBUT_X 1830 |
ClementBreteau | 14:c8fc06c4887f | 33 | //#define POSITION_DEBUT_Y 900 |
ClementBreteau | 14:c8fc06c4887f | 34 | //#define POSITION_DEBUT_T 180 |
ClementBreteau | 14:c8fc06c4887f | 35 | |
ClementBreteau | 18:cc5fec34ed9c | 36 | #define POSITION_DEBUT_X 200 |
ClementBreteau | 18:cc5fec34ed9c | 37 | #define POSITION_DEBUT_Y 880 |
Sitkah | 38:76f886a1c8e6 | 38 | #define POSITION_DEBUT_T 180 |
Sitkah | 38:76f886a1c8e6 | 39 | #define MOITIEE_ROBOT 125 |
ClementBreteau | 15:c2fc239e85df | 40 | //#define POSITION_DEBUT_X 0 |
ClementBreteau | 15:c2fc239e85df | 41 | //#define POSITION_DEBUT_Y 0 |
ClementBreteau | 15:c2fc239e85df | 42 | //#define POSITION_DEBUT_T 0 |
ClementBreteau | 15:c2fc239e85df | 43 | |
antbig | 12:14729d584500 | 44 | #define BALISE_TIMEOUT 6000 |
antbig | 12:14729d584500 | 45 | |
antbig | 5:dcd817534b57 | 46 | #else |
antbig | 5:dcd817534b57 | 47 | |
Sitkah | 38:76f886a1c8e6 | 48 | #define NOMBRE_CARTES 2//Le nombre de carte présente sur le petit robot |
Sitkah | 34:6aa4b46b102e | 49 | #define POSITION_DEBUT_X 210 |
Sitkah | 34:6aa4b46b102e | 50 | #define POSITION_DEBUT_Y 285 |
Sitkah | 34:6aa4b46b102e | 51 | #define POSITION_DEBUT_T 0 |
Artiom | 46:a9b6bcb30b1c | 52 | #define MOITIEE_ROBOT 90 |
antbig | 12:14729d584500 | 53 | #define BALISE_TIMEOUT 2000 |
antbig | 12:14729d584500 | 54 | |
antbig | 5:dcd817534b57 | 55 | #endif |
antbig | 5:dcd817534b57 | 56 | |
antbig | 1:116040d14164 | 57 | |
antbig | 1:116040d14164 | 58 | |
antbig | 1:116040d14164 | 59 | #endif |