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;