strat des robots

Fork of CRAC-Strat_2017 by CRAC Team

Committer:
ClementBreteau
Date:
Fri May 19 17:14:07 2017 +0000
Revision:
17:d1594579eec6
Parent:
11:ed13a480ddca
strat du robot, 19-05-2017, 19h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
antbig 0:ad97421fb1fb 1 #ifndef CRAC_DEBUG
antbig 0:ad97421fb1fb 2 #define CRAC_DEBUG
antbig 0:ad97421fb1fb 3
antbig 0:ad97421fb1fb 4 #include "global.h"
antbig 0:ad97421fb1fb 5
antbig 0:ad97421fb1fb 6 void debug_Instruction(struct S_Instruction instruction);
antbig 0:ad97421fb1fb 7
antbig 0:ad97421fb1fb 8 char* InstructionTypeToString(enum E_InstructionType type);
antbig 0:ad97421fb1fb 9
antbig 0:ad97421fb1fb 10 char* InstructionDirectionToString(enum E_InstructionDirection type);
antbig 0:ad97421fb1fb 11
antbig 0:ad97421fb1fb 12 char* InstructionPrecisionOuRecalageToString(enum E_InstructionPrecisionOuRecalage type);
antbig 0:ad97421fb1fb 13
antbig 0:ad97421fb1fb 14 char* InstructionNextActionTypeToString(enum E_InstructionNextActionType type);
antbig 0:ad97421fb1fb 15
antbig 0:ad97421fb1fb 16 char* InstructionNextActionJumpTypeToString(enum E_InstructionNextActionJumpType type);
antbig 0:ad97421fb1fb 17
antbig 0:ad97421fb1fb 18 /***
antbig 0:ad97421fb1fb 19 Boucle d'erreur
antbig 0:ad97421fb1fb 20 ***/
antbig 0:ad97421fb1fb 21 void errorLoop(void);
antbig 1:116040d14164 22 /***
antbig 1:116040d14164 23 Boucle d'erreur si une instruction n'est pas lue correctement
antbig 1:116040d14164 24 ***/
antbig 1:116040d14164 25 void errorInstructionLoop(void);
antbig 0:ad97421fb1fb 26
antbig 0:ad97421fb1fb 27 /****************************************************************************************/
antbig 0:ad97421fb1fb 28 /* FUNCTION NAME: sendStratEtat */
antbig 0:ad97421fb1fb 29 /* DESCRIPTION : permet le debug de l'etat de l'automate de stratégie */
antbig 0:ad97421fb1fb 30 /****************************************************************************************/
antbig 11:ed13a480ddca 31 void sendStratEtat(unsigned char etat, unsigned char currentInstruction);
antbig 0:ad97421fb1fb 32
antbig 0:ad97421fb1fb 33 #endif