Commit c7f0a9e2 authored by wangdawei's avatar wangdawei

test

parent 495625de
......@@ -273,10 +273,14 @@ bool AdjustPPK::ConfigMap(double timestamp)
if(-1 == ret){
return false;
}
while(0 == ret){
if(0 == ret){
periodIndex_++;
LOG(INFO) << "next period " << periodIndex_;
}
if(periodIndex_ >= ppkPeriodVec_.size()){
LOG(INFO) << "ppkPeriodVec_ reach end";
return false;
}
auto meshId = ppkPeriodVec_.at(periodIndex_).meshId;
while(!meshVec_.at(meshId).matcher){
std::this_thread::sleep_for(std::chrono::milliseconds(100));
......
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