Commit 8596e87c authored by wangdawei's avatar wangdawei

test

parent ec46bb00
...@@ -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
...@@ -380,7 +380,7 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo) ...@@ -380,7 +380,7 @@ bool AdjustPPK::LocateCloud(const CloudInfoForMatch &cloudInfo)
} }
ofs << setprecision(16) << cloudInfo.timestamp << ", " << mapPose_.translation().x() ofs << setprecision(16) << cloudInfo.timestamp << ", " << mapPose_.translation().x()
<< ", " << mapPose_.translation().y() << ", " << mapPose_.translation().z() << endl; << ", " << mapPose_.translation().y() << ", " << mapPose_.translation().z() << endl;
guessPose.precision_type = MATCH_PRECISION_FAST; guessPose.precision_type = MATCH_PRECISION_INIT;
Isometry3f finalPose; Isometry3f finalPose;
float score = currMatcher_->MatchPointCloud(cloudInfo.frame, guessPose, finalGnssPose, finalPose); float score = currMatcher_->MatchPointCloud(cloudInfo.frame, guessPose, finalGnssPose, finalPose);
if(score < 0.45){ if(score < 0.45){
......
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