Difference between revisions of "Install ROS Melodic on NanoPC-T4/zh"
From FriendlyELEC WiKi
(Created page with "English ==配置Ubuntu软件库== 将电脑设置为接受来自packages.ros.org的软件: <syntaxhighlight lang="bash">...") |
(→安装) |
||
Line 23: | Line 23: | ||
sudo apt-get install ros-melodic-desktop-full | sudo apt-get install ros-melodic-desktop-full | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | <!-- | ||
===桌面安装=== | ===桌面安装=== | ||
包含了ROS,rqt,rviz和机器人通用库: | 包含了ROS,rqt,rviz和机器人通用库: | ||
Line 46: | Line 47: | ||
apt-cache search ros-melodic | apt-cache search ros-melodic | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | --> |
Revision as of 07:14, 29 August 2018
Contents
1 配置Ubuntu软件库
将电脑设置为接受来自packages.ros.org的软件:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
2 设置密钥
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
如果遇到连接到密钥服务器的问题,可以尝试在前面的命令中替换hkp://pgp.mit.edu:80 或 hkp://keyserver.ubuntu.com:80。
3 安装
sudo apt-get update
ROS中有许多不同的库和工具。我们提供了四种默认配置来帮助入门,也可以单独安装ROS软件包。
3.1 桌面完整安装:(推荐)
包含了ROS,rqt,rviz,机器人通用库,2D / 3D模拟器,导航和2D / 3D感知:
sudo apt-get install ros-melodic-desktop-full