Ubuntu12.04+fuerte run-through lsd-slam--data set

Source: Internet
Author: User

The first time in the blog park to write articles, write bad places, also please point out:)

Lsd-slam (download Link: Https://github.com/tum-vision/lsd_slam) provides two methods, one using a dataset (Http://vision.in.tum.de/lsdslam), One is with the USB camera, GitHub also has the appropriate instructions for use, not very detailed, the following describes my steps. PS: Also a slam novice, a lot of things do not understand, there is the wrong place please point out

Environment: Ubuntu12.04+fuerte

Target: Use data sets, run through Lsd-slam

1. Install the ubuntu12.04. I installed a dual system, not very recommended for virtual machines, the first to use the virtual machine did not succeed, and later replaced by a dual system

2. Install the Fuerte. Follow Http://wiki.ros.org/fuerte/Installation/Ubuntu This tutorial, followed by setting up the ROS environment, according to http://wiki.ros.org/ROS/Tutorials/ Installingandconfiguringrosenvironment This step, take note of the 4th step, to choose Rosbuild, here

SOURCE ~/fuerte_workspace/setup.bash

If this is set, only valid for the current shell, causing each new shell to execute the above command, you can add environment variables

" Source ~/fuerte_workspace/setup.bash " >> ~/bashrcsource~/.BASHRC

Such a modification, permanently valid.
3. Executing in the shell

Roscore

Results:

Roscore to keep running.

4. Open a new shell and execute

Rosrun Lsd_slam_viewer Viewer

Results:

You can see nothing in the Pointcloud viewer.

5. Open a new shell and execute

Rosrun lsd_slam_core Dataset_slam _files:=<files> _hz:=

<files> represents the location of the picture in the dataset,

Rosrun Lsd_slam_core Dataset_slam _files:=/home/xtl/fuerte_workspace/sandbox/lsd_room_images/lsd_room/images _hz:= 0 _calib:=/home/xtl/fuerte_workspace/sandbox/lsd_room_images/lsd_room/cameracalibration.cfg

Results

Point Cloud Viewer at the same time

The next article will show you how to run Lsd-slam using a USB camera.

Ubuntu12.04+fuerte run-through lsd-slam--data set

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.