Structure-PLP-SLAM icon indicating copy to clipboard operation
Structure-PLP-SLAM copied to clipboard

can not find frame_trajectory.txt

Open houyiliang opened this issue 2 years ago • 4 comments

./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.

houyiliang avatar Aug 10 '23 08:08 houyiliang

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 avatar Nov 27 '23 03:11 C-H-Chien

@C-H-Chien,I still couldn't find the corresponding trajectory file after running it.

rangingwaves avatar Jul 04 '24 11:07 rangingwaves

I understand now; the results are generated only after closing the visualization window.

rangingwaves avatar Jul 04 '24 12:07 rangingwaves

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.

C-H-Chien avatar Jul 04 '24 20:07 C-H-Chien