report tool: exporting poses in RGB-D dataset format by default, also exporting odom, slam and gt poses.

This commit is contained in:
matlabbe
2019-09-29 19:38:54 -04:00
parent 3fd5cdfb75
commit d360420204
2 changed files with 42 additions and 33 deletions

View File

@@ -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;
}
}