Open houyiliang opened 11 months ago
You can turn the if(eval_log)
statement off so that it forces you to write the results to files.
I have tried that and the frame_trajectory.txt
appears in the repository directory.
@C-H-Chien,I still couldn't find the corresponding trajectory file after running it.
I understand now; the results are generated only after closing the visualization window.
I understand now; the results are generated only after closing the visualization window.
Glad it works for you now. The file is written right after SLAM.shutdown();
which requires closing the visualization window.
./build/run_tum_rgbd_slam_with_line -v ./orb_vocab/orb_vocab.dbow2 -d ../datasets/TUM/rgbd_dataset_freiburg3_large_cabinet/ -c ./example/tum_rgbd/TUM_RGBD_rgbd_3.yaml --eval-log
or./build/run_tum_rgbd_slam_with_line -v ./orb_vocab/orb_vocab.dbow2 -d ../datasets/TUM/rgbd_dataset_freiburg3_large_cabinet/ -c ./example/tum_rgbd/TUM_RGBD_rgbd_3.yaml --eval-log frame_trajectory.txt
Hello, I've tried adding both "--eval-log" and "--eval-log frame_trajectory.txt" to the command, but I couldn't find the corresponding trajectory file after running it. Can you please help me? Thank you.