diff --git a/tools/Report/main.cpp b/tools/Report/main.cpp index a52f22a3..de2f18b2 100644 --- a/tools/Report/main.cpp +++ b/tools/Report/main.cpp @@ -36,6 +36,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include #include #include +#include +#include using namespace rtabmap; @@ -50,7 +52,8 @@ void showUsage() " --scale Find the best scale for the map against the ground truth\n" " and compute error based on the scaled path.\n" " --poses Export poses to [path]_poses.txt, ground truth to [path]_gt.txt\n" - " and valid ground truth indices to [path]_indices.txt \n\n"); + " and valid ground truth indices to [path]_indices.txt \n" + " --report Export all statistics values in report.txt \n\n"); exit(1); } @@ -71,6 +74,7 @@ int main(int argc, char * argv[]) bool outputPoses = false; bool outputKittiError = false; bool outputRelativeError = false; + bool outputReport = false; std::map figures; for(int i=1; i