code petit robot pour homologation
Fork of CRAC-Strat_2017_V2 by
Debug/debug.h@0:ad97421fb1fb, 2016-04-13 (annotated)
- Committer:
- antbig
- Date:
- Wed Apr 13 22:04:54 2016 +0000
- Revision:
- 0:ad97421fb1fb
- Child:
- 1:116040d14164
Ajout interruption fin de match
Who changed what in which revision?
User | Revision | Line number | New 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 | 0:ad97421fb1fb | 22 | |
antbig | 0:ad97421fb1fb | 23 | /****************************************************************************************/ |
antbig | 0:ad97421fb1fb | 24 | /* FUNCTION NAME: sendStratEtat */ |
antbig | 0:ad97421fb1fb | 25 | /* DESCRIPTION : permet le debug de l'etat de l'automate de stratégie */ |
antbig | 0:ad97421fb1fb | 26 | /****************************************************************************************/ |
antbig | 0:ad97421fb1fb | 27 | void sendStratEtat(unsigned char etat); |
antbig | 0:ad97421fb1fb | 28 | |
antbig | 0:ad97421fb1fb | 29 | #endif |