csm_output.cov_x_m->data[i*csm_output.cov_x_m->tda+j];//*_current_scan_params.range_max_/100*_current_scan_params.range_max_/100; // This does the same
// gsl_matrix_get(csm_output.cov_x_m, i, j); // NOT COMPILING
sm_icp(&csm_input,&csm_output);
}
else
icpOutputresult{};
{
result.nvalid=csm_output.nvalid;
//std::cout << "ICP NOT VALID, providing first guess transformation and identity covariance\n";
csm_output.cov_x_m->data[i*csm_output.cov_x_m->tda+j];//*_current_scan_params.range_max_/100*_current_scan_params.range_max_/100; // This does the same
// gsl_matrix_get(csm_output.cov_x_m, i, j); // NOT COMPILING
}
else
{
//std::cout << "ICP NOT VALID, providing first guess transformation and identity covariance\n";