Properly propagate range_cutoff
LaserProjection::transformLaserScanToPointCloud_ did not pass the range_cutoff parameter to projectLaser_.
This commit is contained in:
@@ -515,7 +515,7 @@ const boost::numeric::ublas::matrix<double>& LaserProjection::getUnitVectors_(do
|
|||||||
//ensure that we use the correct timestamps
|
//ensure that we use the correct timestamps
|
||||||
channel_options |= channel_option::Index;
|
channel_options |= channel_option::Index;
|
||||||
|
|
||||||
projectLaser_(scan_in, cloud_out, -1.0, channel_options);
|
projectLaser_(scan_in, cloud_out, range_cutoff, channel_options);
|
||||||
|
|
||||||
//we'll assume no associated viewpoint by default
|
//we'll assume no associated viewpoint by default
|
||||||
bool has_viewpoint = false;
|
bool has_viewpoint = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user