auto hover when bad Plan

This commit is contained in:
Louis-Guillaume DUBOIS 2015-05-12 17:44:01 +02:00
parent 40fca6a442
commit 6d91edfe5b

View file

@ -91,7 +91,7 @@ class Run
dz = (z_current - z_previous)/((t_current - t_previous).toSec());
ROS_INFO("dz = %f", dz);
}
xx = msg->normal.x;
ROS_INFO("xx = %f", xx);
yy = msg->normal.y;
@ -107,6 +107,8 @@ class Run
ROS_INFO("first msg received");
}
ROS_INFO("coords updated");
} else {
xx = yy = dz = 0.;
}
};