code petit robot pour homologation
Fork of CRAC-Strat_2017_HOMOLOGATION_PETIT_ROBOT by
Telemetre/Telemetre.h
- Committer:
- ClementBreteau
- Date:
- 2017-05-25
- Revision:
- 21:590cdacb6a35
- Parent:
- 15:c2fc239e85df
File content as of revision 21:590cdacb6a35:
#ifndef CRAC_TELEMETRE #define CRAC_TELEMETRE #include "global.h" #define TELEMETRE_PROFONDEUR 50 struct T_MODULE{ signed short x; signed short y; }; /*********************************************************************************************************/ /* FUNCTION NAME: SendTelemetreID */ /* DESCRIPTION : Envoie un message sans donnée, c'est-à-dire contenant uniquement un ID, sur le bus CAN */ /*********************************************************************************************************/ void SendTelemetreID (unsigned short id); void TraitementBalle(signed short x_robot, signed short y_robot, signed short theta_robot); void TraitementCylindre(void); void TraitementCylindreMultiple(void); signed short returnX(int indiceTab); signed short returnY(int indiceTab); #endif