mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
bump 0.21.10
This commit is contained in:
@@ -926,20 +926,12 @@ std::map<int, Transform> OptimizerGTSAM::optimize(
|
||||
double errorDelta = lastError - error;
|
||||
if(this->epsilon() > 0.0 && fabs(error) > 1000000000000.0)
|
||||
{
|
||||
UERROR("Error computed (%e) is very huge! There could be an issue with too small "
|
||||
"variance set in some factors (set log level to debug to print the values). Aborting! "
|
||||
UWARN("Error computed (%e) is very huge and/or diverging! Aborting! "
|
||||
"Set %s to 0 to ignore that check and keep iterating up to %s (%d).",
|
||||
error,
|
||||
Parameters::kOptimizerEpsilon().c_str(),
|
||||
Parameters::kOptimizerIterations().c_str(),
|
||||
this->iterations());
|
||||
if(ULogger::level() == ULogger::kDebug)
|
||||
{
|
||||
if(optimizer)
|
||||
graph.printErrors(optimizer->values());
|
||||
else if(isam2_)
|
||||
graph.printErrors(isam2_->calculateEstimate());
|
||||
}
|
||||
return optimizedPoses;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user