Ask Your Question

how to get camera trajectory and 3d point cloud data with rgbdslam

asked 2012-05-22 23:06:00 -0500

Ocean gravatar image

updated 2014-01-28 17:12:25 -0500

ngrennan gravatar image

Hello everyone!Now i want to use the package "rgbdslam" to get the camera trajectory and the 3d point cloud data,but i do not know where the relative code is in the package "rgbdslam/src" . Furthemore,if i would like to save the camera trajectory and display the camera trajectory on the screen,so how should i do? Thank you very much for your advice! note:Ubuntu 11.10,ROS electric

edit retag flag offensive close merge delete


In addition,i have download the groundtruth.txt and i want to get the estimated camera trajectory;so how shoule i do next? Or which code is used to input 'groundtruth.txt' and output its estimated trajectory?Hope that i have described the question clearly!Thank you very much!

Ocean gravatar image Ocean  ( 2012-05-23 22:03:58 -0500 )edit

groundtruth.txt is not used as input, just for comparison with the estimate file in the benchmark. If you want to use the trajectory in a ROS application, you should rather use the published tf information, e.g., as it is done for the octomap_server.

Felix Endres gravatar image Felix Endres  ( 2012-07-09 05:44:42 -0500 )edit

HI Ocean, Have you figured out how to get camera trajectory? thanks a lot..

izik6666 gravatar image izik6666  ( 2015-01-14 21:33:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-30 06:00:45 -0500

In the GUI there is a menu option: "Processing"->"Save Trajectory Estimate". You can also use the ROS Service call interface, see the readme file.

edit flag offensive delete link more


Felix, You are telling the solution of saving Trajectory but I think Ocean wants to see trajectory so please tell how can we use data from trajectory_estimate.txt file

sunilsulania9192 gravatar image sunilsulania9192  ( 2012-07-02 00:41:04 -0500 )edit

Depends on what you want to do. It's an easily parsable ascii file. I am not aware of any tools that use it as input (except for the rgbd benchmark)

Felix Endres gravatar image Felix Endres  ( 2012-07-09 05:41:43 -0500 )edit

I used ROS service to save trajectory estimation. But this estimation is not for every image frame, just part of frame. I read the related code, found rgbdslam didn't add all of frame into the graph. But my result lost many frames and just less frames added into the graph (totally 800 frames, just 200 frames in the graph, so I just can get the camera pose estimation associated with these 200 frames). I want to make sure if this is normal. Does rgbdslam supply any another way to get camera estimation for every frame in sequence? Thanks in advance.

WendyHu gravatar image WendyHu  ( 2014-03-24 13:55:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2012-05-22 23:06:00 -0500

Seen: 1,032 times

Last updated: May 30 '12