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.
Dependencies: RoboClaw mbed StepperMotor
Fork of RoboClaw by
Map/Objectif/objectif.h@63:176d04975f06, 2016-05-04 (annotated)
- Committer:
- IceTeam
- Date:
- Wed May 04 21:51:00 2016 +0000
- Revision:
- 63:176d04975f06
- Parent:
- 62:80a81e4ad9f8
- Child:
- 64:24e1057a97f7
Correction des TREEEEEEES nombreux bugs;
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 | 57:86f491f5b25d | 4 | /* Dernier Changement : Romain 20h20 |
| 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 | 62:80a81e4ad9f8 | 9 | #include "../../ControlleurPince/ControlleurPince.h" |
| IceTeam | 57:86f491f5b25d | 10 | |
| IceTeam | 57:86f491f5b25d | 11 | class objectif { |
| IceTeam | 56:4fd9636dfb36 | 12 | public: |
| IceTeam | 63:176d04975f06 | 13 | objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, AX12 * np, ControlleurPince * npince); |
| IceTeam | 57:86f491f5b25d | 14 | bool Action (); |
| IceTeam | 57:86f491f5b25d | 15 | float getX() { return x_objectif; } |
| IceTeam | 57:86f491f5b25d | 16 | float getY() { return y_objectif; } |
| IceTeam | 60:8d2320a54a32 | 17 | float getThet() { return thet_objectif; } |
| IceTeam | 56:4fd9636dfb36 | 18 | |
| IceTeam | 56:4fd9636dfb36 | 19 | private: |
| IceTeam | 57:86f491f5b25d | 20 | bool obj_bloc_action(); |
| IceTeam | 60:8d2320a54a32 | 21 | bool obj_para_action(); |
| IceTeam | 62:80a81e4ad9f8 | 22 | |
| IceTeam | 56:4fd9636dfb36 | 23 | int type; |
| IceTeam | 60:8d2320a54a32 | 24 | float x_objectif, y_objectif, thet_objectif; |
| IceTeam | 60:8d2320a54a32 | 25 | AX12 * Parasol; |
| IceTeam | 63:176d04975f06 | 26 | ControlleurPince * pince; |
| IceTeam | 63:176d04975f06 | 27 | }; |
| IceTeam | 56:4fd9636dfb36 | 28 | |
| IceTeam | 56:4fd9636dfb36 | 29 | #endif |
