Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CRAC-Strat_2017_V2 by
Diff: Telemetre/Telemetre.h
- Revision:
- 15:c2fc239e85df
- Parent:
- 14:c8fc06c4887f
diff -r c8fc06c4887f -r c2fc239e85df Telemetre/Telemetre.h
--- a/Telemetre/Telemetre.h Fri Mar 31 16:20:26 2017 +0000
+++ b/Telemetre/Telemetre.h Thu May 11 12:55:52 2017 +0000
@@ -3,33 +3,15 @@
#include "global.h"
+#define TELEMETRE_PROFONDEUR 50
- struct T_MODULE{
- bool existe;
- signed short x;
- signed short y;
- int timeout;
- };
-
-struct T_FUSEE{
- int nb_module;
+
+
+struct T_MODULE{
signed short x;
signed short y;
- int timeout;
};
-struct T_LISTE_MODULES{
- // cote bleu
- T_MODULE module1; /// 1000 y , 600 x
- T_MODULE module2; /// 200 y , 600 x
- T_MODULE module3; /// 500 y , 1100 x
- T_MODULE module4; /// 900 y , 1400 x
- T_MODULE module5; /// 800 y , 1850 x
- T_FUSEE fusee1 ; /// 0 y , 1350 x
- T_FUSEE fusee2 ; /// 1150 y , 0 x
- };
-
-
/*********************************************************************************************************/
/* FUNCTION NAME: SendTelemetreID */
/* DESCRIPTION : Envoie un message sans donnée, c'est-à-dire contenant uniquement un ID, sur le bus CAN */
@@ -43,4 +25,7 @@
void TraitementCylindreMultiple(void);
+signed short returnX(int indiceTab);
+
+signed short returnY(int indiceTab);
#endif
\ No newline at end of file
