How does gradslam generate the trajectory file (e.g. for tum-dataset)?
linpeisensh opened this issue · 1 comments
linpeisensh commented
Thank you for your excellent work!
Could you please tell me, How gradslam generate the trajectory file (e.g. for tum-dataset)? Or do I need to write this function myself?
krrish94 commented
@linpeisensh when you run the following line (see tutorial https://gradslam.readthedocs.io/en/latest/tutorials/pointfusion_tutorial.html#Basic-PointFusion), the recovered_poses
variable is the trajectory
pointclouds, recovered_poses = slam(rgbdimages)
If you'd like to visualize the entire trajectory, we don't have an off-the-shelf function to do that (but it is a great feature request). You might want to see https://gradslam.readthedocs.io/en/latest/tutorials/pointfusion_tutorial.html#Step-by-step-PointFusion