30 #ifndef RTABMAP_FLANN_PARAMS_H_
31 #define RTABMAP_FLANN_PARAMS_H_
63 SearchParams(
int checks_ = 32,
float eps_ = 0.0,
bool sorted_ =
true ) :
97 IndexParams::const_iterator it =
params.find(
name);
99 return it->second.cast<
T>();
111 return it->second.cast<
T>();
114 throw FLANNException(std::string(
"Missing parameter '")+
name+std::string(
"' in the parameters given"));
120 IndexParams::const_iterator it;
123 std::cout << it->first <<
" : " << it->second << std::endl;
129 std::cout <<
"checks : " <<
params.checks << std::endl;
130 std::cout <<
"eps : " <<
params.eps << std::endl;
131 std::cout <<
"sorted : " <<
params.sorted << std::endl;
132 std::cout <<
"max_neighbors : " <<
params.max_neighbors << std::endl;