diff --git a/ed_sensor_integration/src/kinect/fitter.cpp b/ed_sensor_integration/src/kinect/fitter.cpp index 3aa6892d..d27ed327 100644 --- a/ed_sensor_integration/src/kinect/fitter.cpp +++ b/ed_sensor_integration/src/kinect/fitter.cpp @@ -377,6 +377,8 @@ std::unique_ptr Fitter::findOptimum(const EstimationInputData& input } if (valid_optimum) return current_optimum; + + ROS_ERROR_NAMED("fitter", "optimum is invalid"); std::unique_ptr invalid_optimum(new OptimalFit); return invalid_optimum; }