Skip to content

Commit

Permalink
Fixed build with LOAM dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Jul 14, 2021
1 parent 7338cb8 commit ae92ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/src/odometry/OdometryLOAM.cpp
Expand Up @@ -283,7 +283,7 @@ Transform OdometryLOAM::computeTransform(
Transform rot(0,0,1,0,1,0,0,0,0,1,0,0);
pcl::PointCloud<pcl::PointXYZI> out;
pcl::transformPointCloud(laserMapping_->laserCloudSurroundDS(), out, rot.toEigen3f());
info->localScanMap = LaserScan::backwardCompatibility(util3d::laserScanFromPointCloud(out), 0, data.laserScanRaw().rangeMax(), data.laserScanRaw().localTransform());
info->localScanMap = LaserScan(util3d::laserScanFromPointCloud(out), 0, data.laserScanRaw().rangeMax(), data.laserScanRaw().localTransform());
}
}
}
Expand Down

0 comments on commit ae92ec4

Please sign in to comment.