carte_strategie_2019

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Committer:
antbig
Date:
Mon May 09 09:10:17 2016 +0000
Revision:
12:14729d584500
Parent:
11:ed13a480ddca
Child:
14:c8fc06c4887f
1Version utilis? lors du match 5

Who changed what in which revision?

UserRevisionLine numberNew 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 12:14729d584500 9 #define SIZE_FIFO 25 //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 12:14729d584500 19 #define ROBOT_BIG//Indique que l'on va compiler pour le gros robot
antbig 12:14729d584500 20 //#define ROBOT_SMALL
antbig 1:116040d14164 21
antbig 5:dcd817534b57 22 #ifdef ROBOT_BIG
antbig 5:dcd817534b57 23
antbig 12:14729d584500 24 #define NOMBRE_CARTES 5 //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 12:14729d584500 28
antbig 12:14729d584500 29 #define BALISE_TIMEOUT 6000
antbig 12:14729d584500 30
antbig 5:dcd817534b57 31 #else
antbig 5:dcd817534b57 32
antbig 11:ed13a480ddca 33 #define NOMBRE_CARTES 3 //Le nombre de carte présente sur le petit robot
antbig 9:d0042422d95a 34 #define POSITION_DEBUT_X 990
antbig 9:d0042422d95a 35 #define POSITION_DEBUT_Y 150
antbig 9:d0042422d95a 36 #define POSITION_DEBUT_T 0
antbig 12:14729d584500 37
antbig 12:14729d584500 38 #define BALISE_TIMEOUT 2000
antbig 12:14729d584500 39
antbig 5:dcd817534b57 40 #endif
antbig 5:dcd817534b57 41
antbig 1:116040d14164 42
antbig 1:116040d14164 43
antbig 1:116040d14164 44 #endif