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环境,具体步骤参考此处

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值