Commit 7f8a81c8 authored by wangdawei's avatar wangdawei

test

parent 2cf7ceb3
...@@ -246,8 +246,8 @@ bool AdjustPPK::Undisort( ...@@ -246,8 +246,8 @@ bool AdjustPPK::Undisort(
{ {
vector<IsometryData> periodPose; vector<IsometryData> periodPose;
periodPose.reserve(150); periodPose.reserve(150);
double backPTime = rawFrame.timestamp; double backPTime = rawFrame.cloud.back().time;
double frontPTime = rawFrame.timestamp/* + rawFrame.cloud.front().time*/; double frontPTime = rawFrame.cloud.front().time;
for(; ppkIndex_ < localPoseVec_.size(); ppkIndex_++){ for(; ppkIndex_ < localPoseVec_.size(); ppkIndex_++){
const auto &pose = localPoseVec_.at(ppkIndex_); const auto &pose = localPoseVec_.at(ppkIndex_);
if(pose.timestamp > backPTime){ if(pose.timestamp > backPTime){
......
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