homologation gros robot et test avec les ack de la carte a tout faire

Fork of CRAC-Strat_2017_HOMOLOGATION_PETIT_ROBOT by CRAC Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Telemetre.h Source File

Telemetre.h

00001 #ifndef CRAC_TELEMETRE
00002 #define CRAC_TELEMETRE
00003 
00004 #include "global.h"
00005 
00006 #define TELEMETRE_PROFONDEUR 50
00007 
00008 
00009 
00010 struct T_MODULE{
00011     signed short x;
00012     signed short y;
00013     };
00014 
00015 /*********************************************************************************************************/
00016 /* FUNCTION NAME: SendTelemetreID                                                                        */
00017 /* DESCRIPTION  : Envoie un message sans donnée, c'est-à-dire contenant uniquement un ID, sur le bus CAN */
00018 /*********************************************************************************************************/
00019 void SendTelemetreID (unsigned short id);
00020 
00021 
00022 void TraitementBalle(signed short x_robot, signed short y_robot, signed short theta_robot);
00023 
00024 void TraitementCylindre(void);
00025 
00026 void TraitementCylindreMultiple(void);
00027 
00028 signed short returnX(int indiceTab);
00029     
00030 signed short returnY(int indiceTab);
00031 #endif