File tree 1 file changed +0
-3
lines changed
localization/ndt_scan_matcher/src
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -464,17 +464,14 @@ bool NDTScanMatcher::callback_sensor_points_main(
464
464
diagnostics_scan_points_->addKeyValue (" transform_probability" , ndt_result.transform_probability );
465
465
diagnostics_scan_points_->addKeyValue (
466
466
" nearest_voxel_transformation_likelihood" , ndt_result.nearest_voxel_transformation_likelihood );
467
- std::string score_name = " " ;
468
467
double score = 0.0 ;
469
468
double score_threshold = 0.0 ;
470
469
if (param_.score_estimation .converged_param_type == ConvergedParamType::TRANSFORM_PROBABILITY) {
471
- score_name = " Transform Probability" ;
472
470
score = ndt_result.transform_probability ;
473
471
score_threshold = param_.score_estimation .converged_param_transform_probability ;
474
472
} else if (
475
473
param_.score_estimation .converged_param_type ==
476
474
ConvergedParamType::NEAREST_VOXEL_TRANSFORMATION_LIKELIHOOD) {
477
- score_name = " Nearest Voxel Transformation Likelihood" ;
478
475
score = ndt_result.nearest_voxel_transformation_likelihood ;
479
476
score_threshold =
480
477
param_.score_estimation .converged_param_nearest_voxel_transformation_likelihood ;
You can’t perform that action at this time.
0 commit comments