Commit 36cb6854 authored by wangdawei's avatar wangdawei

test

parent d9d0d1a7
...@@ -36,7 +36,6 @@ Eigen::Vector4d CeresVoxelMatcher::Match(const Rigid3d &init_pose, ...@@ -36,7 +36,6 @@ Eigen::Vector4d CeresVoxelMatcher::Match(const Rigid3d &init_pose,
std::array<double, 3> translation = {init_pose.translation().x(), std::array<double, 3> translation = {init_pose.translation().x(),
init_pose.translation().y(), init_pose.translation().y(),
init_pose.translation().z()}; init_pose.translation().z()};
LOG(INFO) << "ceres_match init_pose.translation(): " << init_pose.translation().transpose();
// Rotation quaternion as (w, x, y, z) // Rotation quaternion as (w, x, y, z)
// Eigen::Quaterniond init as (w, x, y, z), but stores data as (x, y, z, w) // Eigen::Quaterniond init as (w, x, y, z), but stores data as (x, y, z, w)
std::array<double, 4> rotation = {init_pose.rotation().w(), init_pose.rotation().x(), std::array<double, 4> rotation = {init_pose.rotation().w(), init_pose.rotation().x(),
......
...@@ -246,8 +246,8 @@ public: ...@@ -246,8 +246,8 @@ public:
if(!currMesh_){ if(!currMesh_){
return ret; return ret;
} }
x -= currMesh_->GetOffset().x(); // x -= currMesh_->GetOffset().x();
y -= currMesh_->GetOffset().y(); // y -= currMesh_->GetOffset().y();
float gridResolution = currMesh_->getGridResolution(); float gridResolution = currMesh_->getGridResolution();
// uint32_t typeGridResolution = round(gridResolution * 100) * (1 << type); // uint32_t typeGridResolution = round(gridResolution * 100) * (1 << type);
......
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