Commit cb193995 authored by wangdawei's avatar wangdawei

test

parent e4a9a6bc
......@@ -103,14 +103,14 @@ 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);
// }
if(cloudPacket.timestamp < 1683806268.0){
return;
}
if(cloudPacket.timestamp > 1683806270.0){
exit(0);
}
pcl::io::savePCDFileBinary(ieBaseDir_ + "/" + to_string(cloudPacket.timestamp) + ".pcd", cloud);
exit(0);
// exit(0);
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