文章目录
一、遇到的问题:二、解决办法
一、遇到的问题:
Windows10 根据ROS2的官方编译教程步骤下载ROS包时,到vcs import src < ros2.repos 或 vcs import --input ros2.repos src这一步报错或者下载速度极慢
二、解决办法
将ros2.repos文件里列出的需要从github下载的文件链接修改为从Github镜像下载,这里推荐一个镜像 : https://github.com/cnpm/cnpmjs.org。
即:将ros.repos文件里面的所有类似的
url:https://github.com/ament/ament_index.git
的语句改为
https://github.com.cnpmjs.org/ament/ament_index.git