Tx2上ROS环境的搭建

硬件及系统情况

硬件:tx2
操作系统:Ubuntu 16
ROS版本:ROS Kinetic

参考步骤

-更改软件源

sudo cp /etc/apt/sources.list  /etc/apt/sources.list.bak
sudo vim /etc/apt/sources.list

覆盖文件原内容为:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to 
# newer versions of the distribution.   
deb http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted deb-src 
http://ports.ubuntu.com/ubuntu-ports/ xenial main restricted   
## Major bug fix updates produced after the final release of the 
## distribution. deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted 
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates main restricted   
## Uncomment the following two lines to add software from the 'universe' 
## repository. 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team. Also, please note that software in universe WILL NOT receive any 
## review or updates from the Ubuntu security team. deb http://ports.ubuntu.com/ubuntu-ports/ xenial universe deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial universe 
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe 
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-updates universe   
## N.B. software from this repository may not have been tested as 
## extensively as that contained in the main release, although it includes 
## newer versions of some applications which may provide useful features. 
## Also, please note that software in backports WILL NOT receive any review 
## or updates from the Ubuntu security team. 
# deb http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted 
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-backports main restricted   
deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted 
deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security main restricted 
# deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe 
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security universe 
# deb http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse 
# deb-src http://ports.ubuntu.com/ubuntu-ports/ xenial-security multiverse 

-更新软件源

sudo apt-get update 

-强制更新及安装必要软件

sudo apt-get upgrade -y --force-yes
sudo apt-get autoremove -y 
sudo apt-get -y install libboost-all-dev

-以上步骤是TX2区别于PC机上安装ROS的步骤,从这一步开始,同样适用于在一般pc机上安装ros环境,具体步骤参考此处

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章