code petit robot pour homologation
Fork of CRAC-Strat_2017_HOMOLOGATION_PETIT_ROBOT by
Diff: Strategie/Strategie.h
- Revision:
- 4:88431b537477
- Parent:
- 1:116040d14164
- Child:
- 5:dcd817534b57
--- a/Strategie/Strategie.h Sun Apr 17 08:31:59 2016 +0000 +++ b/Strategie/Strategie.h Sun Apr 17 14:03:03 2016 +0000 @@ -13,8 +13,8 @@ ETAT_CONFIG, //attente reception du choix du mode( debug ou game) ETAT_GAME_INIT,//Mise en mémoire du fichier de stratégie - ETAT_GAME_WAIT_FOR_JACK, - ETAT_GAME_START, + ETAT_GAME_WAIT_FOR_JACK,//Attente du retrait du jack + ETAT_GAME_START,//Lancement du timer 90s ETAT_GAME_LOAD_NEXT_INSTRUCTION, ETAT_GAME_PROCESS_INSTRUCTION, ETAT_GAME_WAIT_ACK, @@ -22,22 +22,20 @@ ETAT_GAME_JUMP_POSITION, ETAT_GAME_WAIT_END_INSTRUCTION, - ETAT_FUNNY_ACTION_START, - ETAT_FUNNY_ACTION_PROCESS, - ETAT_FUNNY_ACTION_END, - ETAT_END, ETAT_END_LOOP } E_stratGameEtat; -/** -Automate de gestion du robot -**/ +/****************************************************************************************/ +/* FUNCTION NAME: automate_process */ +/* DESCRIPTION : Automate de gestion de la stratégie du robot */ +/****************************************************************************************/ void automate_process(void); -/** -Traitement du buffer CAN -**/ +/****************************************************************************************/ +/* FUNCTION NAME: canProcessRx */ +/* DESCRIPTION : Fonction de traitement des messages CAN */ +/****************************************************************************************/ void canProcessRx(void); #endif \ No newline at end of file