Re: RTAB-Map on Visual Studio 2012 and stereo mapping example

Posted by yanmingz on
URL: http://official-rtab-map-forum.206.s1.nabble.com/RTAB-Map-on-Visual-Studio-2012-and-stereo-mapping-example-tp624p648.html

Hi Mathieu,

I really appreciate your help.
It is rather straight forward to run your tutorial of stereo mapping on ROS, but I still can't not repeat the tutorial on stand alone RTAB-Map application on Ubuntu. I use the head version of indigo_devel branch.

If I selected the a database of stereo images as input, the "Menu Detection -> Select source" is always disabled, even after I loaded the stereo.ini file. If I open the database from the file menu and press the "start" button, the app crashes. The error message is as follows:
terminate called after throwing an instance of 'cv::Exception'
  what():  /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/persistence.cpp:2252: error: (-212)   ......... /Documents/RTAB-Map/camera_info/stereo_20Hz_left.yaml(1): Valid XML should start with '<?xml ...?>' in function icvXMLParse

I had done some camera calibration with opencv before. Their output is in yml format. yaml is the format of outputs from ROS. I am not sure if this is the root reason.

Could you give me some instruction on this problem?

Best regards
Yanming