v2019

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

Dependents:   Codeprincipal_2019 CRAC-Strat_2019

Committer:
Artiom
Date:
Sat May 25 14:56:55 2019 +0000
Revision:
62:c4863b4b2543
Parent:
57:082ecdf02a98
pendant tout les XYT desactive la balise sur la premiere rotation

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 57:082ecdf02a98 18
kyxstark 57:082ecdf02a98 19 //------------------------------------sellection Robot---------------------
kyxstark 57:082ecdf02a98 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
Sitkah 38:76f886a1c8e6 38 #define POSITION_DEBUT_T 180
Sitkah 38:76f886a1c8e6 39 #define MOITIEE_ROBOT 125
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