ORB_SLAM3_Fixed icon indicating copy to clipboard operation
ORB_SLAM3_Fixed copied to clipboard

Saving all the Trajectory if not Merging

Open ayushGHub opened this issue 2 years ago • 2 comments

Is it possible to save all the trajectories generated instead of the only one which is saved automatically after mapping ends?

This image sequence of walking on a straight road so they will never reach any points mapped before so there won't be any merging. So I want to save all the trajectories.

This is how it looks like orbslam3

ayushGHub avatar Aug 10 '21 16:08 ayushGHub

Hello @ayushGHub

How do you open those two windows during a running of Orbslam3?

The shell script only showed the following message, without any visualization window.

ORB_SLAM3$ ./Examples/Monocular/mono_euroc ./Vocabulary/ORBvoc.txt ./Examples/Monocular/EuRoC.yaml ../Datasets/MH02 ./Examples/Monocular/EuRoC_TimeStamps/MH02.txt dataset-MH02_mono
num_seq = 1
file name: dataset-MH02_mono
Loading images for sequence 0...LOADED!

-------

ORB-SLAM3 Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
ORB-SLAM2 Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.

Input sensor was set to: Monocular
Loading settings from ./Examples/Monocular/EuRoC.yaml
Camera1.k3 optional parameter does not exist...
	-Loaded camera 1
	-Loaded image info
	-Loaded ORB settings
Viewer.imageViewScale optional parameter does not exist...
	-Loaded viewer settings
System.LoadAtlasFromFile optional parameter does not exist...
System.SaveAtlasToFile optional parameter does not exist...
	-Loaded Atlas settings
System.thFarPoints optional parameter does not exist...
	-Loaded misc parameters
----------------------------------
SLAM settings: 
	-Camera 1 parameters (Pinhole): [ 458.65399169921875 457.29598999023438 367.21499633789062 248.375 ]
	-Camera 1 distortion parameters: [  -0.28340810537338257 0.073959067463874817 0.00019359000725671649 1.7618711353861727e-05 ]
	-Original image size: [ 752 , 480 ]
	-Current image size: [ 600 , 350 ]
	-Camera 1 parameters after resize: [  365.94735717773438 333.44500732421875 292.99069213867188 181.10678100585938 ]
	-Sequence FPS: 20
	-Features per image: 1000
	-ORB scale factor: 1.2000000476837158
	-ORB number of scales: 8
	-Initial FAST threshold: 20
	-Min FAST threshold: 7


Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Initialization of Atlas from scratch 
Creation of new map with id: 0
Creation of new map with last KF id: 0
Seq. Name: 
There are 1 cameras in the atlas
Camera 0 is pinhole
First KF:0; Map init KF:0
New Map created with 130 points
sim3 solver: 0.0012379910331219435
11548.1005859375
Shutdown

Saving trajectory to f_dataset-MH02_mono.txt ...
There are 1 maps in the atlas
  Map 0 has 267 KFs

End of saving trajectory to f_dataset-MH02_mono.txt ...

Saving keyframe trajectory to kf_dataset-MH02_mono.txt ...

yongduek avatar May 31 '22 15:05 yongduek

Looks like your whole code is not built properly or Pangolin Viewer is not installed properly. Both windows will get launched automatically

ayushGHub avatar Jun 01 '22 19:06 ayushGHub