![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
code avec la sortie d'évitement en plus géré par un ticker, ce code et le code "avec_modifs" buggent en match avec seulement la stratégie agressive.
Dependencies: mbed SerialHalfDuplex SDFileSystem liaison_Bluetooth ident_crac DISCO-F469NI_portrait
Diff: Evitement/Evitement.h
- Revision:
- 1:7e925468f9d9
- Child:
- 21:d137ec53c3a9
diff -r 41cc45429aba -r 7e925468f9d9 Evitement/Evitement.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Evitement/Evitement.h Thu Jan 30 16:48:59 2020 +0000 @@ -0,0 +1,21 @@ +/*********************************************\ +| Dodge algorithm | +| for CRAC Team 2020 | +| by Gabriel Tetar | +\*********************************************/ +#ifndef CRAC_EVITEMENT +#define CRAC_EVITEMENT + +#define T_X 2000 +#define T_Y 3000 + +unsigned short balise_danger(void); +unsigned short balise_stop(signed char FIFO_lecture); +unsigned short balise_end_danger(S_Instruction* instruction,S_Dodge_queue* dodgeq, E_stratGameEtat* gameEtat, signed short target_x_robot, signed short target_y_robot, signed short target_theta_robot, signed short theta_robot,signed short x_robot,signed short y_robot); + + + + + +#endif +