removes trailing white spaces and empty lines
This commit is contained in:
parent
072561a2f3
commit
3453bce486
|
|
@ -105,7 +105,6 @@ namespace laser_geometry
|
||||||
//! Destructor to deallocate stored unit vectors
|
//! Destructor to deallocate stored unit vectors
|
||||||
~LaserProjection();
|
~LaserProjection();
|
||||||
|
|
||||||
|
|
||||||
//! Project a sensor_msgs::LaserScan into a sensor_msgs::PointCloud
|
//! Project a sensor_msgs::LaserScan into a sensor_msgs::PointCloud
|
||||||
/*!
|
/*!
|
||||||
* Project a single laser scan from a linear array into a 3D
|
* Project a single laser scan from a linear array into a 3D
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ namespace laser_geometry
|
||||||
ranges(1,index) = (double) scan_in.ranges[index];
|
ranges(1,index) = (double) scan_in.ranges[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Do the projection
|
//Do the projection
|
||||||
// NEWMAT::Matrix output = NEWMAT::SP(ranges, getUnitVectors(scan_in.angle_min, scan_in.angle_max, scan_in.angle_increment));
|
// 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()));
|
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
|
//downsize if necessary
|
||||||
cloud_out.points.resize (count);
|
cloud_out.points.resize (count);
|
||||||
for (unsigned int d = 0; d < cloud_out.channels.size(); d++)
|
for (unsigned int d = 0; d < cloud_out.channels.size(); d++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user