mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed build with OpencV 2.4 and Qt4
This commit is contained in:
@@ -7321,8 +7321,8 @@ bool DatabaseViewer::addConstraint(int from, int to, bool silent)
|
||||
""
|
||||
"\n\nOtherwise, if "
|
||||
"the database has images, it is recommended to use %2=2 instead so that "
|
||||
"the guess can be found visually.")
|
||||
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
||||
"the guess can be found visually.")
|
||||
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
||||
QMessageBox::Yes | QMessageBox::No,
|
||||
QMessageBox::Yes) == QMessageBox::Yes)
|
||||
{
|
||||
@@ -7345,8 +7345,8 @@ bool DatabaseViewer::addConstraint(int from, int to, bool silent)
|
||||
"transform for ICP guess? "
|
||||
""
|
||||
"\n\nOtherwise, if the database has images, it is recommended to use %2=2 "
|
||||
"instead so that the guess can be found visually.")
|
||||
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
||||
"instead so that the guess can be found visually.")
|
||||
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
||||
QMessageBox::Yes | QMessageBox::Abort,
|
||||
QMessageBox::Abort) == QMessageBox::Yes)
|
||||
{
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
#include <QtSvg/QSvgGenerator>
|
||||
#endif
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
#define PRINT_DEBUG 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user