v2019
Dependencies: CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Dependents: Codeprincipal_2019 CRAC-Strat_2019
Debug/debug.h@30:a1e37af4bbde, 2018-04-20 (annotated)
- Committer:
- Sitkah
- Date:
- Fri Apr 20 09:16:13 2018 +0000
- Revision:
- 30:a1e37af4bbde
- Parent:
- 29:41e02746041d
ne pas en prendre compte !;
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 | 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 | 27:76ead555a63d | 33 | void debugXYTTarget(signed short target_x_robot, signed short target_y_robot, signed short target_theta_robot) ; |
antbig | 27:76ead555a63d | 34 | |
Sitkah | 30:a1e37af4bbde | 35 | //void affichage_debug(void); |
Sitkah | 29:41e02746041d | 36 | |
antbig | 0:ad97421fb1fb | 37 | #endif |