Commit 8eb8dd5b authored by wangdawei's avatar wangdawei

map dir

parent f4f4ccb4
...@@ -48,7 +48,7 @@ void Dispatch::configOffset() ...@@ -48,7 +48,7 @@ void Dispatch::configOffset()
Vector3d totalPosi = Vector3d::Zero(); Vector3d totalPosi = Vector3d::Zero();
size_t cnt = 0; size_t cnt = 0;
for(size_t i = 0; i < pointcloud_->size(); i++){ for(size_t i = 0; i < pointcloud_->size(); i++){
if(i > 0 && i % 1000000 == 0){ if(i > 0 && i % 500000 == 0){
LOG(INFO) << "totalPosi: " << totalPosi.transpose() LOG(INFO) << "totalPosi: " << totalPosi.transpose()
<< " cnt: " << cnt; << " cnt: " << cnt;
avgPosiVec.push_back(totalPosi / cnt); avgPosiVec.push_back(totalPosi / cnt);
......
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