<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[xiaoqiang tutorial (18) 3D modeling using DSO_SLAM]]></title><description><![CDATA[<p dir="auto"><a href="http://www.bwbot.org/en/products/xiaoqiang-4-pro" target="_blank" rel="noopener noreferrer">Xiaoqiang Homepage</a></p>
<h2>3D modeling using DSO_SLAM</h2>
<p dir="auto"><a href="http://community.bwbot.org/uploads/files/1480933817963-engel2016dso.pdf">Direct Sparse Odometry (DSO) </a> was developed by Jakob Engel with better measured performance and accuracy than lsd_slam. DSO was open sourced to github by the author. At the same time, the author has also open sourced the usage code dso_ros of DSO in the ros system. This tutorial will demonstrate how to install DSO and dso_ros on the Xiaoqiang development platform, use the camera on Xiaoqiang platform to run DSO in real time to perform 3D modeling, Click to view the video.</p>
<p dir="auto"><video src="http://community.bwbot.org/assets/uploads/files/1537756973806-030020010058457965401101ec6fedf462dbbd-868c-f4af-2c8c-2a30414581c2.mp4" controls style="max-width:100%"></video></p>
<h3>１．DSO installation</h3>
<p dir="auto"><code>Note: Since the Xiaoqiang development platform has already installed a lot of DSO-needed dependencies in advance, the following will skip the installation of these packages. Readers of other development platforms should refer to the complete installation tutorial on github for installation.</code></p>
<h4>1.a Installation Dependency Package</h4>
<pre><code class="language-bash">sudo apt-get install libsuitesparse-dev libeigen3-dev libboost-dev
sudo apt-get install libopencv-dev
</code></pre>
<h4>1.b download source code</h4>
<pre><code class="language-bash">cd ~/Documents/
git clone https://github.com/JakobEngel/dso.git
</code></pre>
<h4>1.c continue to configure dependencies</h4>
<pre><code class="language-bash">sudo apt-get install zlib1g-dev
cd ~/Documents/dso/thirdparty
tar -zxvf libzip-1.1.1.tar.gz
cd libzip-1.1.1/
./configure
make
sudo make install
sudo cp lib/zipconf.h /usr/local/include/zipconf.h
</code></pre>
<h4>1.d compile and install</h4>
<pre><code class="language-bash">cd ~/Documents/dso/
mkdir build 
cd build 
cmake .. 
make -j
</code></pre>
<h3>2. Installation of dso_ros</h3>
<p dir="auto"><code>Note: The source code provided by the original author has two branches. The master branch corresponds to the rosbuild version, and the catkin branch corresponds to the catkin version. For modern ROS versions, the catkin version is recommended for easier installation and use. However, the author's catkin branch has a code defect and cannot be installed and used. Therefore, the following will install the dso_ros version of our Bwbot modification.</code></p>
<pre><code class="language-bash">cd ~/Documents/ros/src
git clone https://github.com/BlueWhaleRobot/dso_ros.git 
cd ..
export DSO_PATH=/home/xiaoqiang/Documents/dso
catkin_make
</code></pre>
<h3>3.Start using</h3>
<p dir="auto"><code>Note: The camera calibration files of the Xiaoqiang development platform are the same, so you can directly run the following commands. Readers of other development platforms should modify the contents of the camera.txt file (note that there should be no spaces at the end of each line) and Image topic name in commands.</code></p>
<pre><code class="language-bash">rosrun dso_ros dso_live image:=/camera_node/image_raw calib=/home/xiaoqiang/Documents/ros/src/dso_ros/camera.txt mode=1
</code></pre>
<p dir="auto">Now move the camera and start modeling the surroundings in 3D, avoiding sharp turns and strenuous movements. For Xiaoqiang users, first control the Xiaoqiang movement and use the rosbag to record the <code>image/camera_node/image_raw</code> image topic data, and then replay. This can achieve a wide range of modeling. Before the rosbag is replayed, it is necessary to stop the camera node. <code>sudo service startup stop</code>, otherwise there will be image publishing conflicts.</p>
<p dir="auto"><a href="http://www.bwbot.org/en/products/xiaoqiang-4-pro" target="_blank" rel="noopener noreferrer">Xiaoqiang Homepage</a><br />
<a href="https://community.bwbot.org/topic/617" target="_blank" rel="noopener noreferrer">Back To Index</a></p>
]]></description><link>http://community.bwbot.org/topic/599/xiaoqiang-tutorial-18-3d-modeling-using-dso_slam</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 03:04:24 GMT</lastBuildDate><atom:link href="http://community.bwbot.org/topic/599.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Sep 2018 08:51:42 GMT</pubDate><ttl>60</ttl></channel></rss>