code avec modifs, programme mit dans les robots pour les derniers matchs

Dependencies:   mbed SerialHalfDuplex SDFileSystem liaison_Bluetooth ident_crac DISCO-F469NI_portrait

Evitement/Evitement.h

Committer:
gabrieltetar
Date:
2020-01-30
Revision:
1:7e925468f9d9
Child:
21:d137ec53c3a9

File content as of revision 1:7e925468f9d9:

/*********************************************\
|             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