v2019

Dependencies:   CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Dependents:   Codeprincipal_2019 CRAC-Strat_2019

Committer:
Sitkah
Date:
Wed May 09 19:36:20 2018 +0000
Revision:
38:76f886a1c8e6
Parent:
35:742dc6b200b0
Child:
42:657b6a573e11
test avant match

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 // ****************************************************************************************
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 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 ***/
Sitkah 38:76f886a1c8e6 23 #define ROBOT_BIG//Indique que l'on va compiler pour le gros robot
Sitkah 38:76f886a1c8e6 24 //#define ROBOT_SMALL
antbig 1:116040d14164 25
antbig 5:dcd817534b57 26 #ifdef ROBOT_BIG
antbig 5:dcd817534b57 27
Sitkah 38:76f886a1c8e6 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
Sitkah 38:76f886a1c8e6 35 #define POSITION_DEBUT_T 180
Sitkah 38:76f886a1c8e6 36 #define MOITIEE_ROBOT 125
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
Sitkah 38:76f886a1c8e6 45 #define NOMBRE_CARTES 2//Le nombre de carte présente sur le petit robot
Sitkah 34:6aa4b46b102e 46 #define POSITION_DEBUT_X 210
Sitkah 34:6aa4b46b102e 47 #define POSITION_DEBUT_Y 285
Sitkah 34:6aa4b46b102e 48 #define POSITION_DEBUT_T 0
Sitkah 38:76f886a1c8e6 49 #define MOITIEE_ROBOT 115
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