![](/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
Evitement/Evitement.h@1:7e925468f9d9, 2020-01-30 (annotated)
- Committer:
- gabrieltetar
- Date:
- Thu Jan 30 16:48:59 2020 +0000
- Revision:
- 1:7e925468f9d9
- Child:
- 21:d137ec53c3a9
start
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gabrieltetar | 1:7e925468f9d9 | 1 | /*********************************************\ |
gabrieltetar | 1:7e925468f9d9 | 2 | | Dodge algorithm | |
gabrieltetar | 1:7e925468f9d9 | 3 | | for CRAC Team 2020 | |
gabrieltetar | 1:7e925468f9d9 | 4 | | by Gabriel Tetar | |
gabrieltetar | 1:7e925468f9d9 | 5 | \*********************************************/ |
gabrieltetar | 1:7e925468f9d9 | 6 | #ifndef CRAC_EVITEMENT |
gabrieltetar | 1:7e925468f9d9 | 7 | #define CRAC_EVITEMENT |
gabrieltetar | 1:7e925468f9d9 | 8 | |
gabrieltetar | 1:7e925468f9d9 | 9 | #define T_X 2000 |
gabrieltetar | 1:7e925468f9d9 | 10 | #define T_Y 3000 |
gabrieltetar | 1:7e925468f9d9 | 11 | |
gabrieltetar | 1:7e925468f9d9 | 12 | unsigned short balise_danger(void); |
gabrieltetar | 1:7e925468f9d9 | 13 | unsigned short balise_stop(signed char FIFO_lecture); |
gabrieltetar | 1:7e925468f9d9 | 14 | 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); |
gabrieltetar | 1:7e925468f9d9 | 15 | |
gabrieltetar | 1:7e925468f9d9 | 16 | |
gabrieltetar | 1:7e925468f9d9 | 17 | |
gabrieltetar | 1:7e925468f9d9 | 18 | |
gabrieltetar | 1:7e925468f9d9 | 19 | |
gabrieltetar | 1:7e925468f9d9 | 20 | #endif |
gabrieltetar | 1:7e925468f9d9 | 21 |