Skip to content
Snippets Groups Projects
Commit 5070828f authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Remove old duration info

parent 9c3718b8
No related branches found
No related tags found
1 merge request!41Draft: Resolve "New branch laser 3d"
......@@ -64,11 +64,6 @@ inline void pairAlign(const pcl::PointCloud<pcl::PointXYZ>::Ptr _cloud_ref,
_registration_solver->setInputSource(cloud_ref);
_registration_solver->setInputTarget(cloud_other);
// DURATION --------------------------------------------------------
auto end_downsampling = std::chrono::high_resolution_clock::now();
auto start_aligning = std::chrono::high_resolution_clock::now();
// DURATION --------------------------------------------------------
// Declare variables
Eigen::Matrix4f transform_pcl;
......@@ -83,15 +78,8 @@ inline void pairAlign(const pcl::PointCloud<pcl::PointXYZ>::Ptr _cloud_ref,
_transform_final = Eigen::Isometry3d(transform_pcl.cast<double>());
// DURATION --------------------------------------------------------
auto end = std::chrono::high_resolution_clock::now();
auto duration_downsampling = std::chrono::duration_cast<std::chrono::microseconds>(end_downsampling - start);
auto duration_align = std::chrono::duration_cast<std::chrono::microseconds>(end - start_aligning);
auto duration_total = std::chrono::duration_cast<std::chrono::microseconds>(end - start);
WOLF_INFO("Laser3d_tools.h: Duration downsampling: ", 1e-3 * (duration_downsampling).count(), " ms");
WOLF_INFO("Laser3d_tools.h: Duration aligning : ", 1e-3 * (duration_align).count(), " ms");
WOLF_INFO("Laser3d_tools.h: Duration total : ", 1e-3 * (duration_total).count(), " ms");
auto duration = std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::high_resolution_clock::now() - start);
WOLF_INFO("Laser3d_tools.h: pairAlign: duration: ", 1e-3 * (duration).count(), " ms");
// DURATION --------------------------------------------------------
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment