Re: Mode Swtiching Localization and Mapping + db file Changer

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Mode-Swtiching-Localization-and-Mapping-db-file-Changer-tp8886p8897.html

Hi,

little late to answer but you already found a solution. Yes, rtabmap's parameters should be set as string type. Other problems can also happen with computer locale, for example on french systems comma is used instead of period for floating numbers, and std library doesn't convert correctly numbers with comma, returning 0. This later issue can be fixed by setting locale with LANG environment variable to English locale before starting the app:
export LANGUAGE=en_US:en
export LANG=en_US.UTF-8