Skip to content

Commit

Permalink
metslib tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mvieth committed Feb 17, 2024
1 parent 1033d24 commit 9287ac0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcl_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@

#cmakedefine HAVE_ZLIB

#cmakedefine HAVE_METSLIB

/* Precompile for a minimal set of point types instead of all. */
#cmakedefine PCL_ONLY_CORE_POINT_TYPES

Expand Down
2 changes: 2 additions & 0 deletions recognition/include/pcl/recognition/impl/hv/hv_go.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,9 @@ void pcl::GlobalHypothesesVerification<ModelT, SceneT>::SAOptimize(std::vector<i
mets::noimprove_termination_criteria noimprove (max_iterations_);
mets::linear_cooling linear_cooling;
mets::simulated_annealing<move_manager> sa (model, best_recorder, neigh, noimprove, linear_cooling, initial_temp_, 1e-7, 2);
#if !defined(HAVE_METSLIB)
sa.setApplyAndEvaluate(true);
#endif

{
pcl::ScopeTime t ("SA search...");
Expand Down
1 change: 1 addition & 0 deletions test/geometry/test_mesh_common_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#pragma once

#include <iomanip> // for setw
#include <iostream>
#include <vector>

Expand Down

0 comments on commit 9287ac0

Please sign in to comment.