mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 09:47:46 +08:00
fixed #450
This commit is contained in:
+3
-1
@@ -754,7 +754,9 @@ void OdometryROS::processData(const SensorData & data, const ros::Time & stamp)
|
||||
for(std::map<int, cv::Point3f>::const_iterator iter=info.localMap.begin(); iter!=info.localMap.end(); ++iter)
|
||||
{
|
||||
bool inlier = info.words.find(iter->first) != info.words.end();
|
||||
pcl::PointXYZRGB pt(inlier?0:255, 255, 0);
|
||||
pcl::PointXYZRGB pt;
|
||||
pt.r = inlier?0:255;
|
||||
pt.g = 255;
|
||||
pt.x = iter->second.x;
|
||||
pt.y = iter->second.y;
|
||||
pt.z = iter->second.z;
|
||||
|
||||
Reference in New Issue
Block a user