Commit 32d31744 authored by wangdawei's avatar wangdawei

test

parent 295e4cb5
......@@ -104,13 +104,13 @@ void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud)
<< " cloud.size(): " << cloud.size()
<< " frontPTime: " << cloud.front().timestamp
<< " backPTime: " << cloud.back().timestamp;
if(cloudPacket.timestamp < 1683806268.0){
return;
}
if(cloudPacket.timestamp > 1683806270.0){
exit(0);
}
// pcl::io::savePCDFileBinary(ieBaseDir_ + "/" + to_string(cloudPacket.timestamp) + ".pcd", cloud);
// if(cloudPacket.timestamp < 1683806268.0){
// return;
// }
// if(cloudPacket.timestamp > 1683806270.0){
// exit(0);
// }
pcl::io::savePCDFileBinary(ieBaseDir_ + "/" + to_string(cloudPacket.timestamp) + ".pcd", cloud);
for(const auto &p : cloud){
PointInter point;
point.x = p.x;
......
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