carte_strategie_2019

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Committer:
ClementBreteau
Date:
Mon May 22 15:01:49 2017 +0000
Revision:
18:cc5fec34ed9c
Parent:
16:7321fb3bb396
Child:
23:ab87d308eaf9
v2

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
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 14:c8fc06c4887f 14 #define BALLE 60
ClementBreteau 14:c8fc06c4887f 15 #define CYLINDRE 61
ClementBreteau 14:c8fc06c4887f 16 #define MODULE 62
antbig 0:ad97421fb1fb 17
ClementBreteau 15:c2fc239e85df 18 #define NOMBRE_OBJETS 16
ClementBreteau 15:c2fc239e85df 19
antbig 0:ad97421fb1fb 20 /****
antbig 0:ad97421fb1fb 21 ** Variable à modifier en fonction du robot
antbig 0:ad97421fb1fb 22 ***/
ClementBreteau 16:7321fb3bb396 23 //#define ROBOT_BIG//Indique que l'on va compiler pour le gros robot
ClementBreteau 16:7321fb3bb396 24 #define ROBOT_SMALL
antbig 1:116040d14164 25
antbig 5:dcd817534b57 26 #ifdef ROBOT_BIG
antbig 5:dcd817534b57 27
ClementBreteau 15:c2fc239e85df 28 #define NOMBRE_CARTES 2//Le nombre de carte présente sur le gros robot
ClementBreteau 14:c8fc06c4887f 29 //#define POSITION_DEBUT_X 1830
ClementBreteau 14:c8fc06c4887f 30 //#define POSITION_DEBUT_Y 900
ClementBreteau 14:c8fc06c4887f 31 //#define POSITION_DEBUT_T 180
ClementBreteau 14:c8fc06c4887f 32
ClementBreteau 18:cc5fec34ed9c 33 #define POSITION_DEBUT_X 200
ClementBreteau 18:cc5fec34ed9c 34 #define POSITION_DEBUT_Y 880
ClementBreteau 18:cc5fec34ed9c 35 #define POSITION_DEBUT_T 385
antbig 12:14729d584500 36
ClementBreteau 15:c2fc239e85df 37 //#define POSITION_DEBUT_X 0
ClementBreteau 15:c2fc239e85df 38 //#define POSITION_DEBUT_Y 0
ClementBreteau 15:c2fc239e85df 39 //#define POSITION_DEBUT_T 0
ClementBreteau 15:c2fc239e85df 40
antbig 12:14729d584500 41 #define BALISE_TIMEOUT 6000
antbig 12:14729d584500 42
antbig 5:dcd817534b57 43 #else
antbig 5:dcd817534b57 44
ClementBreteau 15:c2fc239e85df 45 #define NOMBRE_CARTES 1 //Le nombre de carte présente sur le petit robot
ClementBreteau 18:cc5fec34ed9c 46 #define POSITION_DEBUT_X 200
ClementBreteau 18:cc5fec34ed9c 47 #define POSITION_DEBUT_Y 150
ClementBreteau 18:cc5fec34ed9c 48 #define POSITION_DEBUT_T 900
antbig 12:14729d584500 49
antbig 12:14729d584500 50 #define BALISE_TIMEOUT 2000
antbig 12:14729d584500 51
antbig 5:dcd817534b57 52 #endif
antbig 5:dcd817534b57 53
antbig 1:116040d14164 54
antbig 1:116040d14164 55
antbig 1:116040d14164 56 #endif