removes trailing white spaces and empty lines

This commit is contained in:
enriquefernandez 2014-06-04 13:48:30 +02:00
parent 072561a2f3
commit 3453bce486
2 changed files with 21 additions and 24 deletions

View File

@ -105,7 +105,6 @@ namespace laser_geometry
//! Destructor to deallocate stored unit vectors
~LaserProjection();
//! Project a sensor_msgs::LaserScan into a sensor_msgs::PointCloud
/*!
* Project a single laser scan from a linear array into a 3D

View File

@ -47,7 +47,6 @@ namespace laser_geometry
ranges(1,index) = (double) scan_in.ranges[index];
}
//Do the projection
// NEWMAT::Matrix output = NEWMAT::SP(ranges, getUnitVectors(scan_in.angle_min, scan_in.angle_max, scan_in.angle_increment));
boost::numeric::ublas::matrix<double> output = element_prod(ranges, getUnitVectors_(scan_in.angle_min, scan_in.angle_max, scan_in.angle_increment, scan_in.ranges.size()));
@ -142,7 +141,6 @@ namespace laser_geometry
}
}
//downsize if necessary
cloud_out.points.resize (count);
for (unsigned int d = 0; d < cloud_out.channels.size(); d++)