mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
Added OpenVINS minimal support (tested with EuRoC dataset)
This commit is contained in:
@@ -192,6 +192,9 @@ PreferencesDialog::PreferencesDialog(QWidget * parent) :
|
||||
#ifndef RTABMAP_VINS
|
||||
_ui->odom_strategy->setItemData(9, 0, Qt::UserRole - 1);
|
||||
#endif
|
||||
#ifndef RTABMAP_OPENVINS
|
||||
_ui->odom_strategy->setItemData(10, 0, Qt::UserRole - 1);
|
||||
#endif
|
||||
|
||||
#if CV_MAJOR_VERSION < 3
|
||||
_ui->stereosgbm_mode->setItemData(2, 0, Qt::UserRole - 1);
|
||||
@@ -6371,7 +6374,8 @@ void PreferencesDialog::testOdometry()
|
||||
{
|
||||
if(this->getOdomStrategy() != Odometry::kTypeOkvis &&
|
||||
this->getOdomStrategy() != Odometry::kTypeMSCKF &&
|
||||
this->getOdomStrategy() != Odometry::kTypeVINS)
|
||||
this->getOdomStrategy() != Odometry::kTypeVINS &&
|
||||
this->getOdomStrategy() != Odometry::kTypeOpenVINS)
|
||||
{
|
||||
QMessageBox::warning(this, tr("Source IMU Path"),
|
||||
tr("IMU path is set but odometry chosen doesn't support IMU, ignoring IMU..."), QMessageBox::Ok);
|
||||
|
||||
Reference in New Issue
Block a user