carte_strategie_2019

Dependencies:   mbed SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Committer:
kyxstark
Date:
Sat Jun 01 01:42:42 2019 +0000
Revision:
90:2a3e2dca09a0
Parent:
89:d8f8f4e12d5c
gestion asserv erreur, a tester dans toutes les conditions;

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 // ****************************************************************************************
Artiom 67:96f914f92d2d 6 #define ESPACE_INTER_TELEMETRE 149.98//PR 2019
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---------------------
Artiom 81:ef50ec0ef328 20 //
kyxstark 90:2a3e2dca09a0 21 #define ROBOT_BIG //Si commenté Petit Robot, si Décommenter Gros Robot
kyxstark 57:082ecdf02a98 22
kyxstark 57:082ecdf02a98 23 #ifndef ROBOT_BIG // !!!!!!!! ne pas commenter
kyxstark 57:082ecdf02a98 24 #define ROBOT_SMALL // !!!!!!!! ne pas commenter
kyxstark 57:082ecdf02a98 25 #endif // !!!!!!!! ne pas commenter
kyxstark 57:082ecdf02a98 26
kyxstark 57:082ecdf02a98 27 //-------------------------------------------------------------------------
kyxstark 57:082ecdf02a98 28
antbig 1:116040d14164 29
antbig 5:dcd817534b57 30 #ifdef ROBOT_BIG
antbig 5:dcd817534b57 31
Sitkah 38:76f886a1c8e6 32 #define NOMBRE_CARTES 2//Le nombre de carte présente sur le gros robot
ClementBreteau 14:c8fc06c4887f 33 //#define POSITION_DEBUT_X 1830
ClementBreteau 14:c8fc06c4887f 34 //#define POSITION_DEBUT_Y 900
ClementBreteau 14:c8fc06c4887f 35 //#define POSITION_DEBUT_T 180
ClementBreteau 14:c8fc06c4887f 36
ClementBreteau 18:cc5fec34ed9c 37 #define POSITION_DEBUT_X 200
ClementBreteau 18:cc5fec34ed9c 38 #define POSITION_DEBUT_Y 880
Villanut 72:5b1b3e151e59 39 #define POSITION_DEBUT_T 0
Villanut 72:5b1b3e151e59 40 #define MOITIEE_ROBOT 61
ClementBreteau 15:c2fc239e85df 41 //#define POSITION_DEBUT_X 0
ClementBreteau 15:c2fc239e85df 42 //#define POSITION_DEBUT_Y 0
ClementBreteau 15:c2fc239e85df 43 //#define POSITION_DEBUT_T 0
ClementBreteau 15:c2fc239e85df 44
Artiom 81:ef50ec0ef328 45 #define BALISE_TIMEOUT 5000
antbig 12:14729d584500 46
antbig 5:dcd817534b57 47 #else
antbig 5:dcd817534b57 48
Sitkah 38:76f886a1c8e6 49 #define NOMBRE_CARTES 2//Le nombre de carte présente sur le petit robot
Sitkah 34:6aa4b46b102e 50 #define POSITION_DEBUT_X 210
Sitkah 34:6aa4b46b102e 51 #define POSITION_DEBUT_Y 285
Sitkah 34:6aa4b46b102e 52 #define POSITION_DEBUT_T 0
Artiom 46:a9b6bcb30b1c 53 #define MOITIEE_ROBOT 90
Artiom 81:ef50ec0ef328 54 #define BALISE_TIMEOUT 2000
antbig 12:14729d584500 55
antbig 5:dcd817534b57 56 #endif
antbig 5:dcd817534b57 57
antbig 1:116040d14164 58
antbig 1:116040d14164 59
antbig 1:116040d14164 60 #endif