Commit a3fd9127 authored by wangdawei's avatar wangdawei

v1.0

parent f077ff06
......@@ -408,8 +408,8 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
guessPose.movement = 2;
guessPose.rotation = 0.01;
guessPose.use_gnss = false;
if(!currMatcher_->IsMapLoaded(guess.translation())){
currMatcher_->loadArea(guess.translation());
while(!currMatcher_->IsMapLoaded(guess.translation())){
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
double avgGridCnt = currMatcher_->AreaAvgGridCnt(guess.translation());
// LOG(INFO) << "avgGridCnt: " << avgGridCnt;
......
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