Skip to content
Snippets Groups Projects

fix icp tests after changes in laserscanutils

Merged Joan Vallvé Navarro requested to merge devel into main
7 files
+ 38
20
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -80,6 +80,11 @@ struct ParamsIcp
@@ -80,6 +80,11 @@ struct ParamsIcp
icp_params.do_compute_covariance = _server.getParam<bool> (_prefix_and_unique_name + "/icp/do_compute_covariance");
icp_params.do_compute_covariance = _server.getParam<bool> (_prefix_and_unique_name + "/icp/do_compute_covariance");
icp_params.cov_factor = _server.getParam<double> (_prefix_and_unique_name + "/icp/cov_factor");
icp_params.cov_factor = _server.getParam<double> (_prefix_and_unique_name + "/icp/cov_factor");
icp_params.cov_max_eigv_factor = _server.getParam<double> (_prefix_and_unique_name + "/icp/cov_max_eigv_factor");
icp_params.cov_max_eigv_factor = _server.getParam<double> (_prefix_and_unique_name + "/icp/cov_max_eigv_factor");
 
 
icp_params.attempts = _server.getParam<unsigned int> (_prefix_and_unique_name + "/icp/attempts");
 
icp_params.perturbation_new_attempts = _server.getParam<double> (_prefix_and_unique_name + "/icp/perturbation_new_attempts");
 
icp_params.max_mean_error = _server.getParam<double> (_prefix_and_unique_name + "/icp/max_mean_error");
 
icp_params.min_points_ratio = _server.getParam<double> (_prefix_and_unique_name + "/icp/min_points_ratio");
}
}
std::string print() const
std::string print() const
@@ -114,7 +119,11 @@ struct ParamsIcp
@@ -114,7 +119,11 @@ struct ParamsIcp
+ "/icp/sigma" + std::to_string(icp_params.sigma) + "\n"
+ "/icp/sigma" + std::to_string(icp_params.sigma) + "\n"
+ "/icp/do_compute_covariance" + std::to_string(icp_params.do_compute_covariance) + "\n"
+ "/icp/do_compute_covariance" + std::to_string(icp_params.do_compute_covariance) + "\n"
+ "/icp/cov_factor" + std::to_string(icp_params.cov_factor) + "\n"
+ "/icp/cov_factor" + std::to_string(icp_params.cov_factor) + "\n"
+ "/icp/cov_max_eigv_factor" + std::to_string(icp_params.cov_max_eigv_factor) + "\n";
+ "/icp/cov_max_eigv_factor" + std::to_string(icp_params.cov_max_eigv_factor) + "\n"
 
+ "/icp/attempts" + std::to_string(icp_params.attempts) + "\n"
 
+ "/icp/perturbation_new_attempts" + std::to_string(icp_params.perturbation_new_attempts) + "\n"
 
+ "/icp/max_mean_error" + std::to_string(icp_params.max_mean_error) + "\n"
 
+ "/icp/min_points_ratio" + std::to_string(icp_params.min_points_ratio) + "\n";
}
}
};
};
Loading