Skip to content

Commit

Permalink
[TEMP] Print when optimum is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Apr 13, 2022
1 parent 7b82885 commit 7af2446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ed_sensor_integration/src/kinect/fitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ std::unique_ptr<OptimalFit> Fitter::findOptimum(const EstimationInputData& input
}
if (valid_optimum)
return current_optimum;

ROS_ERROR_NAMED("fitter", "optimum is invalid");
std::unique_ptr<OptimalFit> invalid_optimum(new OptimalFit);
return invalid_optimum;
}
Expand Down

0 comments on commit 7af2446

Please sign in to comment.