ORB_SLAM2_Android icon indicating copy to clipboard operation
ORB_SLAM2_Android copied to clipboard

how to save the Trajectory ??

Open B-Betty opened this issue 8 years ago • 2 comments

i want to save the trajectory of camera ,generating the file KeyFrameTrajectory.txt ,like running in ros .what should i do ? Directly modificating in jni or in android layer to save the trajectory ? ?

B-Betty avatar Dec 29 '17 06:12 B-Betty

Hi @B-Betty, Are you able to compile and run the project. May I know how you did it? Thank you. Right now I am running to "OpenCV was not initialized correctly. Application will be shutdown issue". I have correct version of OpenCV manager (2.4.9) installed. But I am not be able to run the app.

BrianT34 avatar Jan 02 '18 07:01 BrianT34

sorry , this repo is too old and has not been maintained since last year. To save trajectory, you may just fill in SaveKeyFrameTrajectoryTUM function in system.cc. To do that , you need to get camera pose and save its translation vector. @B-Betty @BrianTan34

FangGet avatar Jan 04 '18 04:01 FangGet