LSD_SLAM适配于ubuntu20.04修改过程的参考连接如下
Ubuntu20.04配置并运行LSD_SLAM,实测可行_nice-wyh的博客-CSDN博客
【已解决】/lib/x86_64-linux-gnu/libapr-1.so.0: undefined reference to `uuid_generate@UUID_1.0`_Mr.Winter`的博客-CSDN博客
博主将修改好的LSD_SLAM放到github上供大家使用,适用于18.04 20.04,可直接使用
git@github.com:huashu996/Ubuntu20.04LSD_SLAM.git
一、依赖
1.QT5
sudo apt-get install build-essential
sudo apt-get install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
sudo apt-get install qtcreator
sudo apt-get install qt5*
2.libQGLViewer-2.6.0
git clone git@github.com:GillesDebunne/libQGLViewer.git
cd libQGLViewer-2.6.0/QGLViewer
qmake
make
sudo make install
二、拷贝代码编译
mkdir lsd_slam
cd mkdir
mkdir src
cd src
git clone git@github.com:huashu996/Ubuntu20.04LSD_SLAM.git
cd ..
catkin make
三、运行
另起终端
roscore
另起终端
source devel/setup.bash
rosrun lsd_slam_viewer viewer
另起终端
source devel/setup.bash
rosrun lsd_slam_core live_slam image:=/image_raw camera_info:=/camera_info
另起终端
source devel/setup.bash
rosbag play LSD_room_pc.bag