Romain Ame / Mbed 2 deprecated Timer71pt

Dependencies:   RoboClaw mbed

Fork of Timer by ARES

Map/Objectif/objectif.h

Committer:
sype
Date:
2016-05-05
Revision:
76:a862cb10559c
Parent:
75:195dd2bb13a3

File content as of revision 76:a862cb10559c:

#ifndef OBJECTIF_H
#define OBJECTIF_H

/* Dernier Changement : Romain 20h20 
Inclu dans : map.h */

#include "objectif_type.h"
#include "../../AX12/AX12.h"
#include "../../ControlleurPince/ControlleurPince.h"

class objectif {
public:
	objectif (int ntype, float nx_obj, float ny_obj, float nthet_obj, AX12 * np, ControlleurPince * npince);
	bool Action ();
	float getX() { return x_objectif; }
	float getY() { return y_objectif; }
	float getThet() { return thet_objectif; }

private:
	bool obj_bloc_action();
	bool obj_para_action();

	int type;
	float x_objectif, y_objectif, thet_objectif;
	AX12 * Parasol;
	ControlleurPince * pince;
};

#endif