From 5d3a1d5902834935cc41d4c2722d493b998ccbc7 Mon Sep 17 00:00:00 2001 From: Louis-Guillaume DUBOIS Date: Tue, 12 May 2015 18:43:47 +0200 Subject: [PATCH] corrects syntax in commande --- src/commande.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/commande.cpp b/src/commande.cpp index 56d7a82..4c78655 100644 --- a/src/commande.cpp +++ b/src/commande.cpp @@ -100,11 +100,15 @@ class Run } if(msg->normal.z > 0) + { yy = msg->normal.x; xx = msg->normal.y; + } else + { yy = - msg->normal.x; xx = - msg->normal.y; + } t_previous = t_current; z_previous = z_current;