We filter the point cloud so its not dense

git-svn-id: https://code.ros.org/svn/ros-pkg/stacks/laser_pipeline/trunk@35243 eb33c2ac-9c88-4c90-87e0-44a10359b0c3
This commit is contained in:
Eitan Marder-Eppstein 2011-01-14 09:01:50 +00:00
parent e5a51cf5c3
commit acd1b0411f

View File

@ -383,7 +383,7 @@ const boost::numeric::ublas::matrix<double>& LaserProjection::getUnitVectors_(do
cloud_out.point_step = offset;
cloud_out.row_step = cloud_out.point_step * cloud_out.width;
cloud_out.data.resize (cloud_out.row_step * cloud_out.height);
cloud_out.is_dense = true;
cloud_out.is_dense = false;
//TODO: Find out why this was needed
//float bad_point = std::numeric_limits<float>::quiet_NaN ();