Commit 65ef74b5 authored by wangdawei's avatar wangdawei

test

parent 56d31b97
Pipeline #1525 canceled with stages
......@@ -111,15 +111,16 @@ void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud)
void AdjustPPK::LoadPPK()
{
IEReader::Ptr ieReader(new IEReader);
directory_iterator nav_iter(ieBaseDir_);
directory_iterator bag_end_iter;
for(; nav_iter != bag_end_iter; nav_iter++) {
if(nav_iter->path().extension().string() == ".nav"){
LOG(INFO) << "nav: " << nav_iter->path().string();
ieReader->Init(nav_iter->path().string());
break;
}
}
// directory_iterator nav_iter(ieBaseDir_);
// directory_iterator bag_end_iter;
// for(; nav_iter != bag_end_iter; nav_iter++) {
// if(nav_iter->path().extension().string() == ".nav"){
// LOG(INFO) << "nav: " << nav_iter->path().string();
// ieReader->Init(nav_iter->path().string());
// break;
// }
// }
ieReader->Init(ieBaseDir_ + "/gnss.txt");
rawData_ = ieReader->GetData();
LOG(INFO) << "rawData_.size(): " << rawData_.size();
}
......
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