TX2 安装 ROS 依赖库错误解决办法

一.更换ubuntu 16.04 更新源

1. 更新源

deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe
deb http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-backports main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-proposed main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-security main multiverse restricted universe
deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/ xenial-updates main multiverse restricted universe

2. 修改更新源文件

$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份源文件

将更新源换掉

$ sudo apt-get clean

$ cd /var/lib/apt

$ sudo mv lists lists.old

$ sudo mkdir -p lists/partial

$ sudo apt-get clean

$ sudo apt-get update

二.安装 ROS kinetic: (http://www.jetsonhacks.com/2017/03/27/robot-operating-system-ros-nvidia-jetson-tx2/)

$ git clone https://github.com/jetsonhacks/installROSTX2.git
$ cd installROSTX2
$ ./installROSTX2
roscore

$ ./setupCatkinWorkspace.sh jetsonbot


 
 
上一篇:完数c实现


下一篇:20岁少年小伙利用Python_SVM预测股票趋势月入十万!