Skip to content

Commit

Permalink
Added missing Open3D status in --version and About.
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Jan 27, 2024
1 parent b374c6c commit c27507b
Show file tree
Hide file tree
Showing 3 changed files with 464 additions and 417 deletions.
6 changes: 6 additions & 0 deletions corelib/src/Parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,12 @@ ParametersMap Parameters::parseArguments(int argc, char * argv[], bool onlyParam
std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl;
#else
std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl;
#endif
str = "With Open3D:";
#ifdef RTABMAP_OPEN3D
std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl;
#else
std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl;
#endif
str = "With OctoMap:";
#ifdef RTABMAP_OCTOMAP
Expand Down
8 changes: 8 additions & 0 deletions guilib/src/AboutDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ AboutDialog::AboutDialog(QWidget * parent) :
_ui->label_cccorelib_license->setEnabled(false);
#endif

#ifdef RTABMAP_OPEN3D
_ui->label_open3d->setText("Yes");
_ui->label_open3d_license->setEnabled(true);
#else
_ui->label_open3d->setText("No");
_ui->label_open3d_license->setEnabled(false);
#endif

#ifdef RTABMAP_FOVIS
_ui->label_fovis->setText("Yes");
_ui->label_fovis_license->setEnabled(true);
Expand Down
Loading

0 comments on commit c27507b

Please sign in to comment.