mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
report tool: exporting poses in RGB-D dataset format by default, also exporting odom, slam and gt poses.
This commit is contained in:
@@ -85,11 +85,12 @@ bool exportPoses(
|
||||
tmpPath+=".txt";
|
||||
}
|
||||
|
||||
if(format == 1)
|
||||
if(format == 1 || format == 10)
|
||||
{
|
||||
if(stamps.size() != poses.size())
|
||||
{
|
||||
UERROR("When exporting poses to format 1 (RGBD-SLAM), stamps and poses maps should have the same size!");
|
||||
UERROR("When exporting poses to format 1 (RGBD-SLAM), stamps and poses maps should have the same size! stamps=%d psoes=%d",
|
||||
(int)stamps.size(), (int)poses.size());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user