VINS-Fusion icon indicating copy to clipboard operation
VINS-Fusion copied to clipboard

Save and load map

Open Changliu52 opened this issue 5 years ago • 6 comments

Thank you sharing the code.

I am wondering if saving and reloading the map is still available in this version, similar to vins-mono?

Thanks

Changliu52 avatar Apr 07 '19 18:04 Changliu52

hey @Changliu52 , I was also wondering the same thing and I have noticed that one can save the map (pose graph and the features) by entering the letter s and pressing the enter at the terminal in which loop-fusion node is running. Making this closes the node and saves the posegraph. You can see the related code at here

mmp52 avatar Jan 20 '20 15:01 mmp52

I entered the letter s and pressing the enter at the terminal " rosrun vins vins_node ~/catkin_ws/src/VINS-Fusion/config/euroc/euroc_stereo_imu_config.yaml ", but nothing happend and no posegraph had been saved.

luoxia-wen avatar Apr 27 '21 04:04 luoxia-wen

Did anyone solve this issue?

nirajreginald avatar Apr 29 '21 02:04 nirajreginald

I might find a way to solve this issue. It is like that we have to run the loop_fusion node(the "optional") to save the pose_graph and trajectory results. If we only want to get the trajectory result, we just run the loop_fusion(optional) node with other node and the results will be saved in the OUT_PUT_PATH. If we still want to get the pose_graph, we have to enter the letter 's' and press the enter at the terminal in which loop-fusion node is running

luoxia-wen avatar Apr 29 '21 08:04 luoxia-wen

I had struggled with the issue the both vio_loop.csv and pose_graph.txt are saved 0 byte useless file. That had been fixed by running 'vins_estimator', not running 'vins_node'.

HanDaSeul avatar Aug 31 '23 08:08 HanDaSeul

I had struggled with the issue the both vio_loop.csv and pose_graph.txt are saved 0 byte useless file. That had been fixed by running 'vins_estimator', not running 'vins_node'.

hello!could you say it in details?what's your command?

20221023lijia avatar Aug 06 '24 03:08 20221023lijia