Commit ab2ac1a6 authored by wangdawei's avatar wangdawei

add log

parent c5a2ad68
......@@ -77,6 +77,6 @@ int main(int argc, char *argv[])
}
}
LOG(INFO) << "Done";
return 0;
}
......@@ -478,12 +478,13 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
while(!currMatcher_->IsMapLoaded(guess.translation())){
std::this_thread::sleep_for(std::chrono::milliseconds(100));
if(++checkCnt > 200){
LOG(INFO) << "IsMapLoaded fail ++checkCnt > 200! ";
return false;
}
}
double avgGridCnt = currMatcher_->AreaAvgGridCnt(guess.translation());
// LOG(INFO) << "avgGridCnt: " << avgGridCnt;
if(avgGridCnt < 20000){
LOG(INFO) << "avgGridCnt < 20000! " << "avgGridCnt: " << avgGridCnt;
return false;
}
ofs << setprecision(16) << cloudInfo.timestamp << ", " << guess.translation().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