aboutsummaryrefslogtreecommitdiffstats
path: root/problem.hpp
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 16:50:09 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-01 16:50:09 +0100
commit74dba84f9197a3b65b194d8a3dc53bf086d9f072 (patch)
treeb0956f6e166b6cef9c717403a7564418c32afe19 /problem.hpp
parentd6cef8b0585dcadd7a4c6c5811e127fce8436ec3 (diff)
downloadRobotique-Projet-74dba84f9197a3b65b194d8a3dc53bf086d9f072.tar.gz
Robotique-Projet-74dba84f9197a3b65b194d8a3dc53bf086d9f072.zip
Basic interface : can add obstacles ; set begin/end position, ...
Diffstat (limited to 'problem.hpp')
-rw-r--r--problem.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/problem.hpp b/problem.hpp
index a41e47a..381b52d 100644
--- a/problem.hpp
+++ b/problem.hpp
@@ -7,6 +7,7 @@
struct obstacle {
circle c;
+ obstacle(circle cc) : c(cc) {}
};
struct hilare_a_param {
@@ -48,6 +49,7 @@ struct hilare_a_mvt {
// deux ├ętapes dans le mouvement :
// - bien orienter la voiture (c'est l'angle dtheta_before)
// - avancer/reculer sur le cercle (c'est l'angle domega)
+ hilare_a_mvt() : center(0, 0) {}
hilare_a from, to;