v2019

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

Dependents:   Codeprincipal_2019 CRAC-Strat_2019

Committer:
kyxstark
Date:
Thu May 23 10:07:54 2019 +0000
Revision:
56:95c329e42200
Parent:
46:a9b6bcb30b1c
Child:
57:082ecdf02a98
inclusion ident_crac.h lib 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 // ****************************************************************************************
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 56:95c329e42200 18 #define ROBOT_BIG//Indique que l'on va compiler pour le gros robot
kyxstark 56:95c329e42200 19 //#define ROBOT_SMALL
antbig 1:116040d14164 20
antbig 5:dcd817534b57 21 #ifdef ROBOT_BIG
antbig 5:dcd817534b57 22
Sitkah 38:76f886a1c8e6 23 #define NOMBRE_CARTES 2//Le nombre de carte présente sur le gros robot
ClementBreteau 14:c8fc06c4887f 24 //#define POSITION_DEBUT_X 1830
ClementBreteau 14:c8fc06c4887f 25 //#define POSITION_DEBUT_Y 900
ClementBreteau 14:c8fc06c4887f 26 //#define POSITION_DEBUT_T 180
ClementBreteau 14:c8fc06c4887f 27
ClementBreteau 18:cc5fec34ed9c 28 #define POSITION_DEBUT_X 200
ClementBreteau 18:cc5fec34ed9c 29 #define POSITION_DEBUT_Y 880
Sitkah 38:76f886a1c8e6 30 #define POSITION_DEBUT_T 180
Sitkah 38:76f886a1c8e6 31 #define MOITIEE_ROBOT 125
ClementBreteau 15:c2fc239e85df 32 //#define POSITION_DEBUT_X 0
ClementBreteau 15:c2fc239e85df 33 //#define POSITION_DEBUT_Y 0
ClementBreteau 15:c2fc239e85df 34 //#define POSITION_DEBUT_T 0
ClementBreteau 15:c2fc239e85df 35
antbig 12:14729d584500 36 #define BALISE_TIMEOUT 6000
antbig 12:14729d584500 37
antbig 5:dcd817534b57 38 #else
antbig 5:dcd817534b57 39
Sitkah 38:76f886a1c8e6 40 #define NOMBRE_CARTES 2//Le nombre de carte présente sur le petit robot
Sitkah 34:6aa4b46b102e 41 #define POSITION_DEBUT_X 210
Sitkah 34:6aa4b46b102e 42 #define POSITION_DEBUT_Y 285
Sitkah 34:6aa4b46b102e 43 #define POSITION_DEBUT_T 0
Artiom 46:a9b6bcb30b1c 44 #define MOITIEE_ROBOT 90
antbig 12:14729d584500 45 #define BALISE_TIMEOUT 2000
antbig 12:14729d584500 46
antbig 5:dcd817534b57 47 #endif
antbig 5:dcd817534b57 48
antbig 1:116040d14164 49
antbig 1:116040d14164 50
antbig 1:116040d14164 51 #endif