Commit 7b615ee7 authored by wangdawei's avatar wangdawei

fix ppkindex

parent 0d8d2025
......@@ -304,7 +304,9 @@ vector<IsometryData> AdjustPPK::HandleLocalPPK(
if(pose.timestamp > backPTime){
break;
}
mapPose_ = mapPose_ * (localPoseVec_.at(ppkIndex_ - 1).pose.inverse() * pose.pose);
if(ppkIndex_ > 0){
mapPose_ = mapPose_ * (localPoseVec_.at(ppkIndex_ - 1).pose.inverse() * pose.pose);
}
Vector3d calibedBLH;
proj_.Reverse(mapPose_.translation().x(),
mapPose_.translation().y(),
......
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