Commit 86d301a6 authored by wangdawei's avatar wangdawei

test

parent 4f9eeeb3
Pipeline #1541 canceled with stages
...@@ -64,6 +64,7 @@ int main(int argc, char *argv[]) ...@@ -64,6 +64,7 @@ int main(int argc, char *argv[])
directory_iterator bag_end_iter; directory_iterator bag_end_iter;
for(; bag_iter != bag_end_iter; bag_iter++) { for(; bag_iter != bag_end_iter; bag_iter++) {
if(bag_iter->path().extension().string() == ".bag"){ if(bag_iter->path().extension().string() == ".bag"){
LOG(INFO) << "bag found: " << bag_iter->path().string();
adjustPPK.ReadBag(bag_iter->path().string()); adjustPPK.ReadBag(bag_iter->path().string());
break; break;
} }
......
...@@ -40,6 +40,7 @@ void AdjustPPK::ConfigConvert(const string &firetimeFile, const string &correcti ...@@ -40,6 +40,7 @@ void AdjustPPK::ConfigConvert(const string &firetimeFile, const string &correcti
void AdjustPPK::ReadBag(const string &bagPath) void AdjustPPK::ReadBag(const string &bagPath)
{ {
if(!convert_){ if(!convert_){
LOG(FATAL) << "!convert_";
return; return;
} }
LOG(INFO) << "ReadBag: " << bagPath; LOG(INFO) << "ReadBag: " << bagPath;
......
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