mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Making Rtabmap interface easier to use from c++ (Update c++ example usage)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@695 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -548,7 +548,12 @@ QString PreferencesDialog::getWorkingDirectory()
|
||||
|
||||
QString PreferencesDialog::getIniFilePath()
|
||||
{
|
||||
return Rtabmap::getIniFilePath().c_str();
|
||||
QString privatePath = QDir::homePath() + "/.rtabmap";
|
||||
if(!QDir(privatePath).exists())
|
||||
{
|
||||
QDir::home().mkdir(".rtabmap");
|
||||
}
|
||||
return privatePath + "/rtabmap.ini";
|
||||
}
|
||||
|
||||
void PreferencesDialog::loadConfigFrom()
|
||||
|
||||
Reference in New Issue
Block a user