Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Map/Objectif/objectif.h

Committer:
IceTeam
Date:
2016-05-04
Revision:
63:176d04975f06
Parent:
62:80a81e4ad9f8
Child:
64:24e1057a97f7

File content as of revision 63:176d04975f06:

#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