carte_strategie_2019
Dependencies: mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Globals/constantes.h@76:b5eb99354389, 2019-05-27 (annotated)
- Committer:
- Artiom
- Date:
- Mon May 27 18:51:34 2019 +0000
- Revision:
- 76:b5eb99354389
- Parent:
- 75:1db1b929f13d
- Child:
- 78:c0533a36da8f
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 | // **************************************************************************************** |
Artiom | 67:96f914f92d2d | 6 | #define ESPACE_INTER_TELEMETRE 149.98//PR 2019 |
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--------------------- |
Artiom | 76:b5eb99354389 | 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 |
Villanut | 72:5b1b3e151e59 | 38 | #define POSITION_DEBUT_T 0 |
Villanut | 72:5b1b3e151e59 | 39 | #define MOITIEE_ROBOT 61 |
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 | |
Artiom | 62:c4863b4b2543 | 44 | #define BALISE_TIMEOUT 10000 |
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 |
Artiom | 62:c4863b4b2543 | 53 | #define BALISE_TIMEOUT 5000 |
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 |