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

Committer:
goldmas
Date:
Sat Jul 17 11:07:17 2021 +0000
Revision:
37:9d6a3ccc0582
Parent:
21:d137ec53c3a9
Dernier code de la coupe de fracne 2021

Who changed what in which revision?

UserRevisionLine numberNew 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
goldmas 37:9d6a3ccc0582 12 unsigned short balise_danger(signed char FIFO_lecture);
gabrieltetar 1:7e925468f9d9 13 unsigned short balise_stop(signed char FIFO_lecture);
gabrieltetar 21:d137ec53c3a9 14 unsigned short balise_end_danger(S_Instruction* instruction,S_Dodge_queue* dodgeq, 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