Commit 3751d706 authored by wangdawei's avatar wangdawei

test

parent 8596e87c
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
//#include "voxel_map_stub.h" //#include "voxel_map_stub.h"
#include "voxel_map/interface/voxel_map.h" #include "voxel_map/interface/voxel_map.h"
#define VOXEL_MAP_DEBUG //#define VOXEL_MAP_DEBUG
#define VOXEL_MAP_FAST_DEBUG //#define VOXEL_MAP_FAST_DEBUG
//#define VOXEL_MAP_CERES_DEBUG //#define VOXEL_MAP_CERES_DEBUG
//#define VOXEL_MAP_CERES_OUTPUT_NUM 0 //#define VOXEL_MAP_CERES_OUTPUT_NUM 0
...@@ -97,10 +97,13 @@ void AdjustPPK::ReadCenter() ...@@ -97,10 +97,13 @@ void AdjustPPK::ReadCenter()
} }
void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud) void AdjustPPK::OnReceivedCloud(const PPointCloud &cloud)
{ {
if(0 == cloud.size()){ if(0 == cloud.size()){
return; return;
} }
if(cloud.back().timestamp < 1683806268){
return;
}
double backPTime = cloud.back().timestamp; double backPTime = cloud.back().timestamp;
double frontPTime = cloud.front().timestamp; double frontPTime = cloud.front().timestamp;
vector<IsometryData> periodPose = HandleLocalPPK(backPTime, frontPTime); vector<IsometryData> periodPose = HandleLocalPPK(backPTime, frontPTime);
......
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