Commit 5a9e1b4c authored by wangdawei's avatar wangdawei

fix ppkindex

parent 7b615ee7
...@@ -425,6 +425,9 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo) ...@@ -425,6 +425,9 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
guessPose.rotation = 0.01; guessPose.rotation = 0.01;
guessPose.use_gnss = false; guessPose.use_gnss = false;
while(!currMatcher_->IsMapLoaded(guess.translation())){ while(!currMatcher_->IsMapLoaded(guess.translation())){
if(requestQuit_){
return false;
}
std::this_thread::sleep_for(std::chrono::milliseconds(100)); std::this_thread::sleep_for(std::chrono::milliseconds(100));
} }
double avgGridCnt = currMatcher_->AreaAvgGridCnt(guess.translation()); double avgGridCnt = currMatcher_->AreaAvgGridCnt(guess.translation());
......
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