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.
odo_asserv.h@22:f891c2bce091, 2020-10-27 (annotated)
- Committer:
- Nanaud
- Date:
- Tue Oct 27 17:27:33 2020 +0000
- Revision:
- 22:f891c2bce091
- Parent:
- 20:7d206773f39e
- Child:
- 24:be2b2be6907b
Homologation J-2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Nanaud | 6:ea6b30c4bb01 | 1 | // Nom du fichier : odo_asserv.h |
Nanaud | 6:ea6b30c4bb01 | 2 | |
Nanaud | 22:f891c2bce091 | 3 | #define NbObj 13 |
Nanaud | 20:7d206773f39e | 4 | |
Nanaud | 19:c419033c0967 | 5 | extern int indice; |
Nanaud | 20:7d206773f39e | 6 | extern int objEtape[NbObj]; |
Nanaud | 20:7d206773f39e | 7 | extern double objX[NbObj]; |
Nanaud | 20:7d206773f39e | 8 | extern double objY[NbObj]; |
Nanaud | 20:7d206773f39e | 9 | extern int objRecule[NbObj]; |
Nanaud | 20:7d206773f39e | 10 | |
Nanaud | 20:7d206773f39e | 11 | extern bool acc; |
Nanaud | 20:7d206773f39e | 12 | extern bool stt; |
Nanaud | 19:c419033c0967 | 13 | |
Nanaud | 6:ea6b30c4bb01 | 14 | // extern |
Nanaud | 6:ea6b30c4bb01 | 15 | // CODEURS |
Nanaud | 16:ae65ce77b1f9 | 16 | extern const double coeffGLong; |
Nanaud | 16:ae65ce77b1f9 | 17 | extern const double coeffDLong; |
Nanaud | 16:ae65ce77b1f9 | 18 | extern const double coeffGAngl; |
Nanaud | 16:ae65ce77b1f9 | 19 | extern const double coeffDAngl; |
Nanaud | 6:ea6b30c4bb01 | 20 | extern long comptG; |
Nanaud | 6:ea6b30c4bb01 | 21 | extern long comptD; |
Nanaud | 16:ae65ce77b1f9 | 22 | extern double distanceCible; |
Nanaud | 16:ae65ce77b1f9 | 23 | extern double consigneOrientation; |
Nanaud | 18:48246daf0c06 | 24 | extern double cmdG; |
Nanaud | 18:48246daf0c06 | 25 | extern double cmdD; |
Nanaud | 18:48246daf0c06 | 26 | extern int fnc; |
Nanaud | 2:094c09903a9c | 27 | |
Nanaud | 22:f891c2bce091 | 28 | extern double distanceMem; |
Nanaud | 22:f891c2bce091 | 29 | extern double distancePlus; |
Nanaud | 22:f891c2bce091 | 30 | |
Nanaud | 6:ea6b30c4bb01 | 31 | // Prototypes |
Nanaud | 6:ea6b30c4bb01 | 32 | void cdgaRise(); |
plmir | 12:2c312916a621 | 33 | void cddaRise(); |
plmir | 12:2c312916a621 | 34 | |
plmir | 12:2c312916a621 | 35 | //ODOMETRIE |
Nanaud | 22:f891c2bce091 | 36 | extern Ticker Ticker_asserv; |
Nanaud | 16:ae65ce77b1f9 | 37 | void odo1(); |
Nanaud | 16:ae65ce77b1f9 | 38 | void odo2(); |
Nanaud | 16:ae65ce77b1f9 | 39 | void odo3(); |
Nanaud | 16:ae65ce77b1f9 | 40 | void asserv(); |
Nanaud | 16:ae65ce77b1f9 | 41 | extern double x; |
Nanaud | 16:ae65ce77b1f9 | 42 | extern double y; |
Nanaud | 16:ae65ce77b1f9 | 43 | extern double O; |
Nanaud | 17:176a1b4a2fa8 | 44 | |
Nanaud | 17:176a1b4a2fa8 | 45 | extern double xC; |
Nanaud | 17:176a1b4a2fa8 | 46 | extern double yC; |
Nanaud | 17:176a1b4a2fa8 | 47 | extern int etape; |