Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Committer:
IceTeam
Date:
Wed May 04 23:35:03 2016 +0200
Revision:
60:8d2320a54a32
Parent:
57:86f491f5b25d
Child:
62:80a81e4ad9f8
Commit de test map/objectif

Who changed what in which revision?

UserRevisionLine numberNew 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 57:86f491f5b25d 7 #include "../../AX12/AX12.h"
IceTeam 57:86f491f5b25d 8 #include "../../StepperMotor/Stepper.h"
IceTeam 57:86f491f5b25d 9
IceTeam 57:86f491f5b25d 10 class objectif {
IceTeam 56:4fd9636dfb36 11 public:
IceTeam 60:8d2320a54a32 12 objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, AX12 * np, ControlleurPince npince);
IceTeam 57:86f491f5b25d 13 bool Action ();
IceTeam 57:86f491f5b25d 14 float getX() { return x_objectif; }
IceTeam 57:86f491f5b25d 15 float getY() { return y_objectif; }
IceTeam 60:8d2320a54a32 16 float getThet() { return thet_objectif; }
IceTeam 56:4fd9636dfb36 17
IceTeam 56:4fd9636dfb36 18 private:
IceTeam 57:86f491f5b25d 19 bool obj_bloc_action();
IceTeam 60:8d2320a54a32 20 bool obj_para_action();
IceTeam 60:8d2320a54a32 21
IceTeam 56:4fd9636dfb36 22 int type;
IceTeam 60:8d2320a54a32 23 float x_objectif, y_objectif, thet_objectif;
IceTeam 60:8d2320a54a32 24 AX12 * Parasol;
IceTeam 60:8d2320a54a32 25 ControlleurPince pince;
IceTeam 56:4fd9636dfb36 26
IceTeam 56:4fd9636dfb36 27 #endif