ident leo

Dependents:   carte_straegie_2019 Carte_Pompe_V2 carte_esclave201_petit_rob CRAC-Strat_2019 ... more

ID CAN 2019

Committer:
Ganstrich
Date:
Thu Apr 28 19:28:16 2016 +0000
Revision:
0:63cf4d3a2ff9
Child:
1:97f9d943a6aa
leo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ganstrich 0:63cf4d3a2ff9 1 #define GLOBAL_GAME_END 0x004 // Stop fin du match
Ganstrich 0:63cf4d3a2ff9 2 #define GLOBAL_START 0x002 // Start
Ganstrich 0:63cf4d3a2ff9 3 #define GLOBAL_END_INIT_POSITION 0x005 // Fin positionnement robot avant depart
Ganstrich 0:63cf4d3a2ff9 4 #define GLOBAL_FUNNY_ACTION 0x007 // Funny action start (0: start, 1: stop)
Ganstrich 0:63cf4d3a2ff9 5
Ganstrich 0:63cf4d3a2ff9 6 #define BALISE_STOP 0x003 // Trame stop (angle en °, Type du robot : 1=>gros robot, 2=> petit)
Ganstrich 0:63cf4d3a2ff9 7 #define BALISE_DANGER 0xA // Trame danger (angle en °, Type du robot : 1=>gros robot, 2=> petit)
Ganstrich 0:63cf4d3a2ff9 8 #define BALISE_END_DANGER 0xB // Trame fin de danger
Ganstrich 0:63cf4d3a2ff9 9
Ganstrich 0:63cf4d3a2ff9 10 #define ASSERVISSEMENT_STOP 0x001 // Stop moteur
Ganstrich 0:63cf4d3a2ff9 11 #define ASSERVISSEMENT_SPEED_DANGER 0x006 // Vitesse de danger
Ganstrich 0:63cf4d3a2ff9 12 #define ASSERVISSEMENT_XYT 0x020 // Asservissement (x,y,theta) (0 : au choix 1 : avant -1 : arrière)
Ganstrich 0:63cf4d3a2ff9 13 #define ASSERVISSEMENT_COURBURE 0x021 // Asservissement rayon de courbure (+ gauche, - droite , sens : 1avt , -1arr; enchainement => 1 oui, 0 => non, 2=>derniére instruction de l'enchainement)
Ganstrich 0:63cf4d3a2ff9 14 #define ASSERVISSEMENT_CONFIG 0x022 // Asservissement paramètre (définir les valeurs de vitesse max et d'eccélération max)
Ganstrich 0:63cf4d3a2ff9 15 #define ASSERVISSEMENT_ROTATION 0x023 // Asservissement rotation
Ganstrich 0:63cf4d3a2ff9 16 #define ASSERVISSEMENT_RECALAGE 0x024 // Moteur tout droit (recalage : 0 mouvement seul, 1 x, 2y valeur : coordonnée à laquelle est recalé x/y; enchainement => 1 oui, 0 => non)
Ganstrich 0:63cf4d3a2ff9 17
Ganstrich 0:63cf4d3a2ff9 18 #define ODOMETRIE_BIG_POSITION 0x026 // Odométrie position robot (Position actuel du robot)
Ganstrich 0:63cf4d3a2ff9 19 #define ODOMETRIE_BIG_VITESSE 0x027 // Odométrie vitesse (Indication sur l'état actuel)
Ganstrich 0:63cf4d3a2ff9 20 #define ODOMETRIE_SMALL_POSITION 0x028 // Odométrie position robot (Position actuel du robot)
Ganstrich 0:63cf4d3a2ff9 21 #define ODOMETRIE_SMALL_VITESSE 0x029 // Odométrie vitesse (Indication sur l'état actuel)
Ganstrich 0:63cf4d3a2ff9 22
Ganstrich 0:63cf4d3a2ff9 23 #define ASSERVISSEMENT_INFO_CONSIGNE 0x1F0 // Info Consigne et Commande moteur
Ganstrich 0:63cf4d3a2ff9 24 #define ASSERVISSEMENT_CONFIG_KPP_DROITE 0x1F1 // Config coef KPP_Droit
Ganstrich 0:63cf4d3a2ff9 25 #define ASSERVISSEMENT_CONFIG_KPI_DROITE 0x1F2 // Config coef KPI_Droit
Ganstrich 0:63cf4d3a2ff9 26 #define ASSERVISSEMENT_CONFIG_KPD_DROITE 0x1F3 // Config coef KPD_Droit
Ganstrich 0:63cf4d3a2ff9 27 #define ASSERVISSEMENT_CONFIG_KPP_GAUCHE 0x1F4 // Config coef KPP_Gauche
Ganstrich 0:63cf4d3a2ff9 28 #define ASSERVISSEMENT_CONFIG_KPI_GAUCHE 0x1F5 // Config coef KPI_Gauche
Ganstrich 0:63cf4d3a2ff9 29 #define ASSERVISSEMENT_CONFIG_KPD_GAUCHE 0x1F6 // Config coef KPD_Gauche
Ganstrich 0:63cf4d3a2ff9 30 #define ASSERVISSEMENT_ENABLE 0x1F7 // Activation asservissement (0 : désactivation, 1 : activation)
Ganstrich 0:63cf4d3a2ff9 31
Ganstrich 0:63cf4d3a2ff9 32 #define RESET_BALISE 0x030 // Reset balise
Ganstrich 0:63cf4d3a2ff9 33 #define RESET_MOTEUR 0x031 // Reset moteur
Ganstrich 0:63cf4d3a2ff9 34 #define RESET_IHM 0x032 // Reset écran tactile
Ganstrich 0:63cf4d3a2ff9 35 #define RESET_ACTIONNEURS 0x033 // Reset actionneurs
Ganstrich 0:63cf4d3a2ff9 36 #define RESET_STRAT 0x3A // Reset stratégie
Ganstrich 0:63cf4d3a2ff9 37
Ganstrich 0:63cf4d3a2ff9 38 #define CHECK_BALISE 0x060 // Check balise
Ganstrich 0:63cf4d3a2ff9 39 #define CHECK_MOTEUR 0x061 // Check moteur
Ganstrich 0:63cf4d3a2ff9 40 #define CHECK_IHM 0x062 // Check écran tactile
Ganstrich 0:63cf4d3a2ff9 41 #define CHECK_ACTIONNEURS 0x063 // Check actionneurs
Ganstrich 0:63cf4d3a2ff9 42
Ganstrich 0:63cf4d3a2ff9 43 #define ALIVE_BALISE 0x070 // Alive balise
Ganstrich 0:63cf4d3a2ff9 44 #define ALIVE_MOTEUR 0x071 // Alive moteur
Ganstrich 0:63cf4d3a2ff9 45 #define ALIVE_IHM 0x072 // Alive écran tactile
Ganstrich 0:63cf4d3a2ff9 46 #define ALIVE_ACTIONNEURS 0x073 // Alive actionneurs
Ganstrich 0:63cf4d3a2ff9 47
Ganstrich 0:63cf4d3a2ff9 48 #define ACKNOWLEDGE_BALISE 0x100 // Acknowledge balise
Ganstrich 0:63cf4d3a2ff9 49 #define ACKNOWLEDGE_MOTEUR 0x101 // Acknowledge moteur
Ganstrich 0:63cf4d3a2ff9 50 #define ACKNOWLEDGE_IHM 0x102 // Acknowledge ecran tactile
Ganstrich 0:63cf4d3a2ff9 51 #define ACKNOWLEDGE_ACTIONNEURS 0x103 // Acknowledge actionneurs
Ganstrich 0:63cf4d3a2ff9 52
Ganstrich 0:63cf4d3a2ff9 53 #define INSTRUCTION_END_BALISE 0x110 // Fin instruction balise (Indique que l'instruction est terminée)
Ganstrich 0:63cf4d3a2ff9 54 #define INSTRUCTION_END_MOTEUR 0x111 // Fin instruction moteur (Indique que l'instruction est terminée)
Ganstrich 0:63cf4d3a2ff9 55 #define INSTRUCTION_END_IHM 0x112 // Fin instruction ecran tactile (Indique que l'instruction est terminée)
Ganstrich 0:63cf4d3a2ff9 56 #define INSTRUCTION_END_ACTIONNEURS 0x113 // Fin instruction actionneurs (Indique que l'instruction est terminée)
Ganstrich 0:63cf4d3a2ff9 57
Ganstrich 0:63cf4d3a2ff9 58 #define ECRAN_CHOICE_STRAT 0x601 // Choix d'une stratégie (n° strat (1-4))
Ganstrich 0:63cf4d3a2ff9 59 #define ECRAN_CHOICE_COLOR 0x602 // Couleur (0->Purple;1->green)
Ganstrich 0:63cf4d3a2ff9 60 #define ECRAN_START_MATCH 0x603 // Match (Indique que l'on souhaite commencer le match)
Ganstrich 0:63cf4d3a2ff9 61 #define ECRAN_ACK_STRAT 0x611 // Acknowledge stratégie (si 0 erreur, sinon n°strat)
Ganstrich 0:63cf4d3a2ff9 62 #define ECRAN_ACK_COLOR 0x612 // Acknowledge couleur (0->Purple;1->green)
Ganstrich 0:63cf4d3a2ff9 63 #define ECRAN_ACK_START_MATCH 0x613 // Acknowledge Match (Indique que l'on a bien reçu le debut du match)
Ganstrich 0:63cf4d3a2ff9 64 #define ECRAN_ALL_CHECK 0x620 // Carte all check (Si provient de carte strat => toutes les cartes sont en ligne, Si provient IHM => forcer le lancement)
Ganstrich 0:63cf4d3a2ff9 65 #define ECRAN_TIME 0x621 // Time match (Indication de moment cle du temps (10,30,60,70,80,85,90))
Ganstrich 0:63cf4d3a2ff9 66 #define ECRAN_PRINTF_1 0x6C0 // Tactile printf (Afficher les 8 permier caractères)
Ganstrich 0:63cf4d3a2ff9 67 #define ECRAN_PRINTF_2 0x6C1 // Tactile printf (Afficher les 8 second caractères)
Ganstrich 0:63cf4d3a2ff9 68 #define ECRAN_PRINTF_3 0x6C2 // Tactile printf (Afficher les 8 troisième caractères)
Ganstrich 0:63cf4d3a2ff9 69 #define ECRAN_PRINTF_4 0x6C3 // Tactile printf (Afficher les 8 quatrième caractères)
Ganstrich 0:63cf4d3a2ff9 70 #define ECRAN_PRINTF_CLEAR 0x6CF // Tactile printf clear (Permet d'effacer l'ecran)
Ganstrich 0:63cf4d3a2ff9 71
Ganstrich 0:63cf4d3a2ff9 72 #define ERROR_OVERFLOW_BALISE 0x040 // Overflow odométrie
Ganstrich 0:63cf4d3a2ff9 73 #define ERROR_OVERFLOW_MOTEUR 0x041 // Overflow asservissement
Ganstrich 0:63cf4d3a2ff9 74 #define ERROR_OVERFLOW_IHM 0x042 // Overflow balise
Ganstrich 0:63cf4d3a2ff9 75 #define ERROR_OVERFLOW_STRAT 0x043 // Overflow stratégie
Ganstrich 0:63cf4d3a2ff9 76 #define ERROR_BALISE 0x785 // Bug balise
Ganstrich 0:63cf4d3a2ff9 77 #define ERROR_RTC 0x786 // Bug RTC
Ganstrich 0:63cf4d3a2ff9 78 #define ERROR_MOTEUR 0x787 // Bug moteur
Ganstrich 0:63cf4d3a2ff9 79 #define ERROR_TELEMETRIE 0x788 // Bug télémètre
Ganstrich 0:63cf4d3a2ff9 80 #define ERROR_STRATEGIE 0x789 // Bug stratégie
Ganstrich 0:63cf4d3a2ff9 81
Ganstrich 0:63cf4d3a2ff9 82 #define DEBUG_STRATEGIE_AUTOMATE 0x760 // Etat automate stratégie (Permet de savoir l'etat de l'automate)
Ganstrich 0:63cf4d3a2ff9 83 #define DEBUG_FAKE_JAKE 0x761 // Fake jack (Permet d'outre passerr le JACk du robot)
Ganstrich 0:63cf4d3a2ff9 84 #define DEBUG_ASSERV 0x762 // Info debug carte moteur
Ganstrich 0:63cf4d3a2ff9 85
Ganstrich 0:63cf4d3a2ff9 86 #define SERVO_AX12_SETGOAL 0x090 // AX12 setGoal (Indiquer la nouvelle position de l'AX12 !! Ne bouge pas)
Ganstrich 0:63cf4d3a2ff9 87 #define SERVO_AX12_PROCESS 0x091 // AX12 processChange (Lancer le déplacement des AX12)
Ganstrich 0:63cf4d3a2ff9 88 #define SERVO_AX12_DONE 0x092 // AX12 done (Indique q'un AX12 a terminé son déplacement)
Ganstrich 0:63cf4d3a2ff9 89 #define SERVO_XL320 0x093 // XL320
Ganstrich 0:63cf4d3a2ff9 90 #define POMPE_PWM 0x9A // pwm des pompes
Ganstrich 0:63cf4d3a2ff9 91