Time is good

Dependencies:   RoboClaw mbed

Fork of Robot2016_2-0 by ARES

Map/Objectif/objectif.h

Committer:
IceTeam
Date:
2016-05-04
Revision:
57:86f491f5b25d
Parent:
56:4fd9636dfb36
Child:
60:8d2320a54a32

File content as of revision 57:86f491f5b25d:

#ifndef OBJECTIF_H
#define OBJECTIF_H

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

#include "../../AX12/AX12.h"
#include "../../StepperMotor/Stepper.h"

class objectif {
public:
	objectif (int type, float x_obj, float y_obj, float thet_obj, AX12 * nA1, AX12 * nA2, AX12 * nA3, Stepper * nS1, Stepper * nS2);
	bool Action ();
	float getX() { return x_objectif; }
	float getY() { return y_objectif; }
	float getThet() { return thet_object; }

private:
	bool obj_bloc_action();

	int type;
	float x_objectif, y_objectif, thet_object;
	AX12 * A1, * A2, * A3;
	Stepper * S1, * S2;
};

#endif