corrects syntax in commande

This commit is contained in:
Louis-Guillaume DUBOIS 2015-05-12 18:43:47 +02:00
parent 329295a788
commit 5d3a1d5902

View file

@ -100,11 +100,15 @@ class Run
} }
if(msg->normal.z > 0) if(msg->normal.z > 0)
{
yy = msg->normal.x; yy = msg->normal.x;
xx = msg->normal.y; xx = msg->normal.y;
}
else else
{
yy = - msg->normal.x; yy = - msg->normal.x;
xx = - msg->normal.y; xx = - msg->normal.y;
}
t_previous = t_current; t_previous = t_current;
z_previous = z_current; z_previous = z_current;