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 Robot2016_2-0 by
Map/Objectif/objectif.h@75:195dd2bb13a3, 2016-05-05 (annotated)
- Committer:
- IceTeam
- Date:
- Thu May 05 04:36:59 2016 +0000
- Revision:
- 75:195dd2bb13a3
- Parent:
- 64:24e1057a97f7
Test 1;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| IceTeam | 56:4fd9636dfb36 | 1 | #ifndef OBJECTIF_H |
| IceTeam | 56:4fd9636dfb36 | 2 | #define OBJECTIF_H |
| IceTeam | 56:4fd9636dfb36 | 3 | |
| IceTeam | 64:24e1057a97f7 | 4 | /* Dernier Changement : Romain 0h20 |
| IceTeam | 57:86f491f5b25d | 5 | Inclu dans : map.h */ |
| IceTeam | 57:86f491f5b25d | 6 | |
| IceTeam | 63:176d04975f06 | 7 | #include "objectif_type.h" |
| IceTeam | 57:86f491f5b25d | 8 | #include "../../AX12/AX12.h" |
| IceTeam | 64:24e1057a97f7 | 9 | #include "../../Odometry/Odometry.h" |
| IceTeam | 62:80a81e4ad9f8 | 10 | #include "../../ControlleurPince/ControlleurPince.h" |
| IceTeam | 75:195dd2bb13a3 | 11 | #include "../../Functions/defines.h" |
| IceTeam | 57:86f491f5b25d | 12 | |
| IceTeam | 57:86f491f5b25d | 13 | class objectif { |
| IceTeam | 56:4fd9636dfb36 | 14 | public: |
| IceTeam | 64:24e1057a97f7 | 15 | objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, Odometry * nCodo, AX12 * np, ControlleurPince * npince, float arr = 0); |
| IceTeam | 57:86f491f5b25d | 16 | bool Action (); |
| IceTeam | 57:86f491f5b25d | 17 | float getX() { return x_objectif; } |
| IceTeam | 57:86f491f5b25d | 18 | float getY() { return y_objectif; } |
| IceTeam | 60:8d2320a54a32 | 19 | float getThet() { return thet_objectif; } |
| IceTeam | 56:4fd9636dfb36 | 20 | |
| IceTeam | 56:4fd9636dfb36 | 21 | private: |
| IceTeam | 57:86f491f5b25d | 22 | bool obj_bloc_action(); |
| IceTeam | 60:8d2320a54a32 | 23 | bool obj_para_action(); |
| IceTeam | 75:195dd2bb13a3 | 24 | bool obj_para_lache_action(); |
| IceTeam | 62:80a81e4ad9f8 | 25 | |
| IceTeam | 56:4fd9636dfb36 | 26 | int type; |
| IceTeam | 60:8d2320a54a32 | 27 | float x_objectif, y_objectif, thet_objectif; |
| IceTeam | 64:24e1057a97f7 | 28 | float marche_arriere; |
| IceTeam | 60:8d2320a54a32 | 29 | AX12 * Parasol; |
| IceTeam | 63:176d04975f06 | 30 | ControlleurPince * pince; |
| IceTeam | 64:24e1057a97f7 | 31 | Odometry * Codo; |
| IceTeam | 63:176d04975f06 | 32 | }; |
| IceTeam | 56:4fd9636dfb36 | 33 | |
| IceTeam | 56:4fd9636dfb36 | 34 | #endif |
