Dear Matlabbe, I have two questions:
(1)How do I generate the correct database with my own data, such as .ply point cloud data, rgb images, depth images and camera poses? Or that is to say, in order to generate .db file (like chalet1.db (314 MB),
chalet2.db (68 MB) in
https://github.com/introlab/rtabmap/wiki/Multi-Session-Mapping-with-RTAB-Map-Tango#example-with-docker ), how do I import my own data into the database? Could you please give me an example with c++ code?
(2) I build a Ratabmap object as follows:
rtabmap::Rtabmap mRM;
rtabmap::ParametersMap parameters;
parameters.insert(rtabmap::ParametersPair(rtabmap::Parameters::kRGBDEnabled(), "true"));
parameters.insert(rtabmap::ParametersPair(rtabmap::Parameters::kMemCompressionParallelized(), "true"));
parameters.insert(rtabmap::ParametersPair(rtabmap::Parameters::kMemImageCompressionFormat(), ".jpg"));
parameters.insert(rtabmap::ParametersPair(rtabmap::Parameters::kMemSaveDepth16Format(), "false"));
std::string mDbPath = std::string(basePath + "/multicamera_srv.db");
rtabmap::DBDriver *mDBDriver = rtabmap::DBDriver::create(parameters);
mRM.init(parameters, mDbPath);
How do I check whether my data "multicamera_srv.db" is the correct data that I expect.
By the way, I use sourced-compiled RTAB-Map on windows x64 systems.
Thanks!