惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
Schneier on Security
Schneier on Security
V
V2EX - 技术
S
Secure Thoughts
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
S
Securelist
S
Security Archives - TechRepublic
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
Security Latest
Security Latest
Recent Commits to openclaw:main
Recent Commits to openclaw:main
G
GRAHAM CLULEY
H
Hacker News: Front Page
Microsoft Azure Blog
Microsoft Azure Blog
I
Intezer
Google Online Security Blog
Google Online Security Blog
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
T
The Exploit Database - CXSecurity.com
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Webroot Blog
Webroot Blog
Jina AI
Jina AI
Engineering at Meta
Engineering at Meta
P
Proofpoint News Feed
The Cloudflare Blog
I
InfoQ
L
LangChain Blog
U
Unit 42
P
Proofpoint News Feed
S
Schneier on Security
S
Security Affairs
Y
Y Combinator Blog
T
Tenable Blog
N
News and Events Feed by Topic
MyScale Blog
MyScale Blog
量子位
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
博客园 - 聂微东
D
Darknet – Hacking Tools, Hacker News & Cyber Security
GbyAI
GbyAI
AWS News Blog
AWS News Blog

博客园 - MrZhangYang

Win10下python3和python2同时安装并解决pip共存问题 Roomblock: a Platform for Learning ROS Navigation With Roomba, Raspberry Pi and RPLIDAR(转) Understand:高效代码静态分析神器详解(转) VMware下ubuntu与Windows实现文件共享的方法 Install rapyuta client on Ubuntu14.04 Install rapyuta client on Raspberry Pi Installing ROS Indigo on the Raspberry Pi Shrinking images on Linux How to emulate a Raspberry Pi on your PC Remastersys打包你自己的ubuntu成iso文件 Install rapyuta Robot Cloud Engine on Ubuntu14.04 Install rapyuta Robot Cloud Engine on Ubuntu12.04 怎样下载youtube的字幕 国内老版本ubuntu更新源地址以及sources.list的配置方法 配置 ROS 的 apt 源 大堆文字不如几张图片-论信息传递的方式以NodeMCU入门为例 - MrZhangYang 3D打印机如何添加自动调平功能 给创客的十条建议 RAMPS1.4 3d打印控制板接线与测试
Running ROS on Windows 10
MrZhangYang · 2018-12-31 · via 博客园 - MrZhangYang

1.在Windows10下安装ROS。需要开启WSL。参考

2.修改ubuntu国内源,可以提高安装包下载更新速度。

(1)原文件备份:sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

(2)编辑源列表文件:sudo vim /etc/apt/sources.list

(3)将原来的列表删除,添加如下内容(中科大镜像源)参考

         deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-properties
         deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
         deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted multiverse universe #Added by software-properties
         deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
         deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted multiverse universe #Added by software-properties
         deb http://mirrors.aliyun.com/ubuntu/ xenial universe
         deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
         deb http://mirrors.aliyun.com/ubuntu/ xenial multiverse
         deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
         deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
         deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse #Added by software-properties
         deb http://archive.canonical.com/ubuntu xenial partner
         deb-src http://archive.canonical.com/ubuntu xenial partner
         deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
         deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted multiverse universe #Added by software-properties
         deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe

         deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse

         deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
         deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
         deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
         deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
         deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
         deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
         deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
         deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
         deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
(4)运行sudo apt-get update

3.修改ROS国内源,提高下载安装速度。参考1参考2

         首先打开终端输入:

         sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'

         如果上面执行有问题,请使用下面方式

         sudo sh -c 'echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

        设置密钥:wget https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -O - | sudo apt-key add -

        或者(官方):sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

4.安装ROS。参考