在 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
不知道怎么解决这个问题
我从 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
不知道怎么解决这个问题