pour trouver l'automate de reception can
Fork of CRAC-Strat_copy by
Telemetre/Telemetre.h@15:c2fc239e85df, 2017-05-11 (annotated)
- Committer:
- ClementBreteau
- Date:
- Thu May 11 12:55:52 2017 +0000
- Revision:
- 15:c2fc239e85df
- Parent:
- 14:c8fc06c4887f
crac strat le 11/05/17
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ClementBreteau | 14:c8fc06c4887f | 1 | #ifndef CRAC_TELEMETRE |
ClementBreteau | 14:c8fc06c4887f | 2 | #define CRAC_TELEMETRE |
ClementBreteau | 14:c8fc06c4887f | 3 | |
ClementBreteau | 14:c8fc06c4887f | 4 | #include "global.h" |
ClementBreteau | 14:c8fc06c4887f | 5 | |
ClementBreteau | 15:c2fc239e85df | 6 | #define TELEMETRE_PROFONDEUR 50 |
ClementBreteau | 14:c8fc06c4887f | 7 | |
ClementBreteau | 15:c2fc239e85df | 8 | |
ClementBreteau | 15:c2fc239e85df | 9 | |
ClementBreteau | 15:c2fc239e85df | 10 | struct T_MODULE{ |
ClementBreteau | 14:c8fc06c4887f | 11 | signed short x; |
ClementBreteau | 14:c8fc06c4887f | 12 | signed short y; |
ClementBreteau | 14:c8fc06c4887f | 13 | }; |
ClementBreteau | 14:c8fc06c4887f | 14 | |
ClementBreteau | 14:c8fc06c4887f | 15 | /*********************************************************************************************************/ |
ClementBreteau | 14:c8fc06c4887f | 16 | /* FUNCTION NAME: SendTelemetreID */ |
ClementBreteau | 14:c8fc06c4887f | 17 | /* DESCRIPTION : Envoie un message sans donnée, c'est-à-dire contenant uniquement un ID, sur le bus CAN */ |
ClementBreteau | 14:c8fc06c4887f | 18 | /*********************************************************************************************************/ |
ClementBreteau | 14:c8fc06c4887f | 19 | void SendTelemetreID (unsigned short id); |
ClementBreteau | 14:c8fc06c4887f | 20 | |
ClementBreteau | 14:c8fc06c4887f | 21 | |
ClementBreteau | 14:c8fc06c4887f | 22 | void TraitementBalle(signed short x_robot, signed short y_robot, signed short theta_robot); |
ClementBreteau | 14:c8fc06c4887f | 23 | |
ClementBreteau | 14:c8fc06c4887f | 24 | void TraitementCylindre(void); |
ClementBreteau | 14:c8fc06c4887f | 25 | |
ClementBreteau | 14:c8fc06c4887f | 26 | void TraitementCylindreMultiple(void); |
ClementBreteau | 14:c8fc06c4887f | 27 | |
ClementBreteau | 15:c2fc239e85df | 28 | signed short returnX(int indiceTab); |
ClementBreteau | 15:c2fc239e85df | 29 | |
ClementBreteau | 15:c2fc239e85df | 30 | signed short returnY(int indiceTab); |
ClementBreteau | 14:c8fc06c4887f | 31 | #endif |