rm useless vector

This commit is contained in:
Louis-Guillaume DUBOIS 2015-09-19 14:01:56 +02:00
parent c68b58ee7f
commit 6241a63264

View file

@ -49,11 +49,6 @@ class Callback {
float x, y, z, th, h, c; float x, y, z, th, h, c;
x = y = z = th = h = c = 0.; x = y = z = th = h = c = 0.;
// we want to consider the whole PointCloud
std::vector<int> indices;
for (int i = 0; i < msg->points.size(); ++i)
indices.push_back(i);
// v = eg_1 ^ eg_2 is the plan normal // v = eg_1 ^ eg_2 is the plan normal
Eigen::Vector3f v = eg.col(0).cross(eg.col(1)); Eigen::Vector3f v = eg.col(0).cross(eg.col(1));
v.normalize(); // to have norm(v) == 1 v.normalize(); // to have norm(v) == 1