Commit fffc507c authored by wangdawei's avatar wangdawei

map dir

parent 3bd95482
...@@ -588,6 +588,12 @@ void AdjustPPK::Compress(const vector<PCDPathInfo> &pcdPathVec, ...@@ -588,6 +588,12 @@ void AdjustPPK::Compress(const vector<PCDPathInfo> &pcdPathVec,
// downSampledPc.push_back(p); // downSampledPc.push_back(p);
// } // }
// pcl::io::savePCDFileBinary(ieBaseDir_ + "/downSampledPc.pcd", downSampledPc); // pcl::io::savePCDFileBinary(ieBaseDir_ + "/downSampledPc.pcd", downSampledPc);
for(size_t i = 0; i < pointcloud->size(); i++){
const auto &point = pointcloud->at(i);
if(isnanf(point.x) || isnanf(point.y)){
LOG_EVERY_N(INFO, 999999) << "nan";
}
}
boost::shared_ptr<Dispatch> dispatch(new Dispatch(pointcloud)); boost::shared_ptr<Dispatch> dispatch(new Dispatch(pointcloud));
// dispatch.setMeshId(meshId); // dispatch.setMeshId(meshId);
dispatch->configOffset(); dispatch->configOffset();
......
...@@ -57,7 +57,7 @@ void Dispatch::configOffset() ...@@ -57,7 +57,7 @@ void Dispatch::configOffset()
} }
const auto &point = pointcloud_->at(i); const auto &point = pointcloud_->at(i);
if(isnanf(point.x) || isnanf(point.y)){ if(isnanf(point.x) || isnanf(point.y)){
LOG_EVERY_N(INFO, 9999) << "nan"; // LOG_EVERY_N(INFO, 999999) << "nan";
continue; continue;
} }
totalPosi.x() += point.x; totalPosi.x() += point.x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment