关于PCAT_open_source的安装-避雷篇
PCAT_open_source安装
GitHub源代码(内有具体安装步骤):https://github.com/halostorm/PCAT_open_source
配置要求:ubuntu16.04 + ROS Kinetic full(ubuntu16.04的安装教程参考:ubuntu16.04安装教程
以下内容是本人安装过程遇到的问题及解决办法。
ROS安装
1、更换apt-get源
bing一下,网上教程很多。
换成清华源或中科大源或其他
2、更换ROS源
-
终端运行命令
sudo gedit /etc/ros/rosdep/sources.list.d/20-default.list
修改list内容如下
# os-specific listings first yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
generic
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yamlnewer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead
-
终端运行命令
sudo gedit /usr/lib/python2.7/dist-packages/rosdistro/__init__.py
将
DEFAULT_INDEX_URL = 'https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml'
修改为DEFAULT_INDEX_URL ='https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml'
安装 PCAT
必须安装在英文目录下