Commit 376ef0eb authored by wangdawei's avatar wangdawei

config log

parent 5eda41e9
...@@ -112,7 +112,6 @@ Vector3d AdjustPPK::ReadCenter(const string& taskName) ...@@ -112,7 +112,6 @@ Vector3d AdjustPPK::ReadCenter(const string& taskName)
boost::split(line_vec, line, boost::is_any_of(":"), boost::token_compress_on); boost::split(line_vec, line, boost::is_any_of(":"), boost::token_compress_on);
center.z() = stof(line_vec.at(1)); center.z() = stof(line_vec.at(1));
} }
LOG(INFO) << taskName << " center_: " << center.transpose();
return center; return center;
} }
...@@ -226,6 +225,7 @@ void AdjustPPK::LoadMapInfo() ...@@ -226,6 +225,7 @@ void AdjustPPK::LoadMapInfo()
for(; task_iter != task_end_iter; task_iter++) { for(; task_iter != task_end_iter; task_iter++) {
string taskName = task_iter->path().filename().string(); string taskName = task_iter->path().filename().string();
auto taskCenter = ReadCenter(taskName); auto taskCenter = ReadCenter(taskName);
LOG(INFO) << taskName << " center_: " << taskCenter.transpose();
string pcdDir = task_iter->path().string() + "/pcd_cart"; string pcdDir = task_iter->path().string() + "/pcd_cart";
if(is_directory(pcdDir)){ if(is_directory(pcdDir)){
directory_iterator pcd_iter(pcdDir); directory_iterator pcd_iter(pcdDir);
...@@ -236,6 +236,7 @@ void AdjustPPK::LoadMapInfo() ...@@ -236,6 +236,7 @@ void AdjustPPK::LoadMapInfo()
} }
auto fileName = pcd_iter->path().filename().string(); auto fileName = pcd_iter->path().filename().string();
ulong meshId = stoi(split_string(fileName, '_').front()); ulong meshId = stoi(split_string(fileName, '_').front());
LOG(INFO) << " meshId: " << meshId;
PCDPathInfo pcdPathInfo; PCDPathInfo pcdPathInfo;
pcdPathInfo.pcdPath = pcd_iter->path().string(); pcdPathInfo.pcdPath = pcd_iter->path().string();
if(baseTaskName_ != taskName){ if(baseTaskName_ != taskName){
......
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