mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
DbViewer/detect more loop closures: removed a messagebox when silent and icp-only is used
This commit is contained in:
@@ -6868,11 +6868,14 @@ bool DatabaseViewer::addConstraint(int from, int to, bool silent)
|
||||
if(fromIter != optimizedPoses.end() &&
|
||||
toIter != optimizedPoses.end())
|
||||
{
|
||||
QMessageBox::information(this,
|
||||
tr("Add constraint"),
|
||||
tr("Registration is done without vision (see %1 parameter), "
|
||||
"a guess is taken from the optimized graph.")
|
||||
.arg(Parameters::kRegStrategy().c_str()));
|
||||
if(!silent)
|
||||
{
|
||||
QMessageBox::information(this,
|
||||
tr("Add constraint"),
|
||||
tr("Registration is done without vision (see %1 parameter), "
|
||||
"a guess is taken from the optimized graph.")
|
||||
.arg(Parameters::kRegStrategy().c_str()));
|
||||
}
|
||||
guess = fromIter->second.inverse() * toIter->second;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user