Skip to content

Commit efa7427

Browse files
doisygrhaschke
doisyg
authored andcommitted
Fix cutoff in LaserScanDisplay (#1512)
Fixup for db1a7e4
1 parent 25f377d commit efa7427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rviz/default_plugin/laser_scan_display.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void LaserScanDisplay::processMessage(const sensor_msgs::LaserScanConstPtr& scan
8181
{
8282
auto tf = context_->getTF2BufferPtr();
8383

84-
projector_->transformLaserScanToPointCloud(fixed_frame_.toStdString(), *scan, *cloud, *tf,
84+
projector_->transformLaserScanToPointCloud(fixed_frame_.toStdString(), *scan, *cloud, *tf, -1.0,
8585
laser_geometry::channel_option::Intensity);
8686
}
8787
catch (tf2::TransformException& e)

0 commit comments

Comments
 (0)