Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saving all the Trajectory if not Merging #3

Open
ayushGHub opened this issue Aug 10, 2021 · 2 comments
Open

Saving all the Trajectory if not Merging #3

ayushGHub opened this issue Aug 10, 2021 · 2 comments

Comments

@ayushGHub
Copy link

ayushGHub commented Aug 10, 2021

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

@yongduek
Copy link

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

@ayushGHub
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants