在 xubuntu 16.4 中构建 lsd slam

building lsd slam in xubuntu 16.4

我从 github this link
克隆了 lsd_slam 在 README 文件的第 2.2 节中,作者写道 ros 是必需的,所以我按照那里提到的说明进行操作:

We do not use catkin, however fortunately old-fashioned CMake-builds
are still possible with ROS indigo. For this you need to create a rosbuild workspace (if you don't have one yet), using:

sudo apt-get install python-rosinstall
mkdir ~/rosbuild_ws
cd ~/rosbuild_ws
rosws init . /opt/ros/indigo
mkdir package_dir
rosws set ~/rosbuild_ws/package_dir -t .
echo "source ~/rosbuild_ws/setup.bash" >> ~/.bashrc
bash
cd package_dir

但是当我到达初始化阶段时,我遇到了这个错误:

kave@kave-ThinkPad-X201:~/dev/rosbuild_ws$ rosws init . /opt/ros/indigo
Using ROS_ROOT: /opt/ros/indigo ERROR in config: Is not a local file, nor a valid URL [/opt/ros/indigo] : unknown url type: /opt/ros/indigo

不知道怎么解决这个问题

ROS Indigo 不适用于为 ROS Kinetic 构建的 Ubuntu 16.x ref. You can either roll back your version of Ubuntu to 14.x and install ROS Indigo and try again, or install ROS Kinetic on your current system and try building one of the versions of lsd slam