
Time is good
Fork of Robot2016_2-0 by
Diff: Map/map.h
- Revision:
- 63:176d04975f06
- Parent:
- 60:8d2320a54a32
- Child:
- 64:24e1057a97f7
--- a/Map/map.h Wed May 04 23:38:38 2016 +0200 +++ b/Map/map.h Wed May 04 21:51:00 2016 +0000 @@ -11,6 +11,7 @@ #include "controle.h" #include "Objectif/objectif.h" #include "../Odometry/Odometry.h" +#include "../Functions/defines.h" #include "../AX12/AX12.h" #include "../../StepperMotor/Stepper.h" @@ -19,7 +20,7 @@ class map { public: - map (Odometry* nodo, AX12 * nA1, AX12 * nA2, AX12 * nA3, Stepper * nS1, Stepper * nS2); + map (Odometry* nodo, AX12 * np, ControlleurPince * npince); void addObs (obsCarr nobs); void addObj (objectif nobj); void FindWay (point dep, point arr); @@ -33,7 +34,7 @@ protected: nVector<obsCarr> obs; nVector<pointParcours> path; - nVector<Objectif> objectifs; + nVector<objectif> objectifs; bool endedParc; // Definit s'il existe un chemin parcourable dans le dernier FindWay Odometry* Codo; @@ -43,6 +44,7 @@ float min_x_table, min_y_table, max_x_table, max_y_table; void Build_formation_1 (int couleur); + void Build_formation_2 (int couleur); }; #endif \ No newline at end of file