Commit fecc9429 authored by wangdawei's avatar wangdawei

check fst traj time

parent ab2ac1a6
......@@ -124,6 +124,9 @@ void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud)
// }
double backPTime = cloud.back().timestamp;
double frontPTime = cloud.front().timestamp;
if(frontPTime < localPoseVec_.front().timestamp){
return;
}
vector<IsometryData> periodPose = HandleLocalPPK(backPTime, frontPTime);
CloudPacket cloudPacket;
ros::Time rosTime;
......
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