Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Committer:
IceTeam
Date:
Thu May 05 01:30:14 2016 +0200
Revision:
64:24e1057a97f7
Parent:
63:176d04975f06
Child:
75:195dd2bb13a3
Test du code d'execution des objectifs et des nouvelles fonctionnalites du path finding

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 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 57:86f491f5b25d 11
IceTeam 57:86f491f5b25d 12 class objectif {
IceTeam 56:4fd9636dfb36 13 public:
IceTeam 64:24e1057a97f7 14 objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, Odometry * nCodo, AX12 * np, ControlleurPince * npince, float arr = 0);
IceTeam 57:86f491f5b25d 15 bool Action ();
IceTeam 57:86f491f5b25d 16 float getX() { return x_objectif; }
IceTeam 57:86f491f5b25d 17 float getY() { return y_objectif; }
IceTeam 60:8d2320a54a32 18 float getThet() { return thet_objectif; }
IceTeam 56:4fd9636dfb36 19
IceTeam 56:4fd9636dfb36 20 private:
IceTeam 57:86f491f5b25d 21 bool obj_bloc_action();
IceTeam 60:8d2320a54a32 22 bool obj_para_action();
IceTeam 62:80a81e4ad9f8 23
IceTeam 56:4fd9636dfb36 24 int type;
IceTeam 60:8d2320a54a32 25 float x_objectif, y_objectif, thet_objectif;
IceTeam 64:24e1057a97f7 26 float marche_arriere;
IceTeam 60:8d2320a54a32 27 AX12 * Parasol;
IceTeam 63:176d04975f06 28 ControlleurPince * pince;
IceTeam 64:24e1057a97f7 29 Odometry * Codo;
IceTeam 63:176d04975f06 30 };
IceTeam 56:4fd9636dfb36 31
IceTeam 56:4fd9636dfb36 32 #endif