mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +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 "
|
"\n\nOtherwise, if "
|
||||||
"the database has images, it is recommended to use %2=2 instead so that "
|
"the database has images, it is recommended to use %2=2 instead so that "
|
||||||
"the guess can be found visually.")
|
"the guess can be found visually.")
|
||||||
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
||||||
QMessageBox::Yes | QMessageBox::No,
|
QMessageBox::Yes | QMessageBox::No,
|
||||||
QMessageBox::Yes) == QMessageBox::Yes)
|
QMessageBox::Yes) == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
@@ -7345,8 +7345,8 @@ bool DatabaseViewer::addConstraint(int from, int to, bool silent)
|
|||||||
"transform for ICP guess? "
|
"transform for ICP guess? "
|
||||||
""
|
""
|
||||||
"\n\nOtherwise, if the database has images, it is recommended to use %2=2 "
|
"\n\nOtherwise, if the database has images, it is recommended to use %2=2 "
|
||||||
"instead so that the guess can be found visually.")
|
"instead so that the guess can be found visually.")
|
||||||
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
.arg(Parameters::kRegStrategy().c_str()).arg(Parameters::kRegStrategy().c_str()),
|
||||||
QMessageBox::Yes | QMessageBox::Abort,
|
QMessageBox::Yes | QMessageBox::Abort,
|
||||||
QMessageBox::Abort) == QMessageBox::Yes)
|
QMessageBox::Abort) == QMessageBox::Yes)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -48,6 +48,7 @@
|
|||||||
#include <QtSvg/QSvgGenerator>
|
#include <QtSvg/QSvgGenerator>
|
||||||
#endif
|
#endif
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#define PRINT_DEBUG 0
|
#define PRINT_DEBUG 0
|
||||||
|
|
||||||
|
|||||||
@@ -47,8 +47,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
#include <QMultiMap>
|
#include <QMultiMap>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <opencv2/core.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
#include <opencv2/imgcodecs.hpp>
|
|
||||||
|
|
||||||
using namespace rtabmap;
|
using namespace rtabmap;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user