一、ubuntu14.04 不能正确打拼音
ibus-daemon –drx
改为全拼
二、解压
tar -xzvf g2o.tar.gz
unzip opencv-3.4.1.zip
三、卸载库
sudo rm -rf /usr/local/include/g2o
sudo rm -r /usr/local/lib/libg2o* /usr/local/include/g2o /usr/local/lib/g2o /usr/local/bin/g2o*
四、TUM数据公开集rgb和depth采集时间配对
python associate.py rgb.txt depth.txt > associate.txt
五、ifstream读入文件失败
1、无伤大雅
正常情况直接输入文件地址:ifstream fin("../TUM1/associate.txt");
注:文件和执行程序在同一文件夹下,可用相对路径。
异常情况:
string pathtodata="../TUM1";
string path=pathtodata+"/associate.txt";
ifstream fin(path);