rosdistro 镜像使用帮助

在 rosdep 使用流程中,我们会有如下两个步骤

sudo rosdep init
rosdep update

我们替换为以下步骤

# 手动模拟 rosdep init
sudo mkdir -p /etc/ros/rosdep/sources.list.d/
sudo curl -o /etc/ros/rosdep/sources.list.d/20-default.list https://mirror.nyist.edu.cn/github-raw/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
# 为 rosdep update 换源
export ROSDISTRO_INDEX_URL=https://mirror.nyist.edu.cn/rosdistro/index-v4.yaml
rosdep update

# 每次 rosdep update 之前,均需要增加该环境变量
# 为了持久化该设定,可以将其写入 .bashrc 中,例如
echo 'export ROSDISTRO_INDEX_URL=https://mirror.nyist.edu.cn/rosdistro/index-v4.yaml' >> ~/.bashrc

本站由南阳理工学院信息化建设与管理中心支持创办,由南阳理工学院 CIPS 协会运行维护。

本站采用清华大学 TUNA 镜像站网页搭建。

相关源码可在 这里(镜像管理器)这里(镜像站网页) 获取。

根据相关法律法规,本站不对欧盟用户提供服务。

Contact Us

Your IP Address

本站由南阳理工学院信息化建设与管理中心支持创办,由南阳理工学院 CIPS 协会运行维护。

本站采用清华大学 TUNA 镜像站网页搭建。

相关源码可在 这里(镜像管理器)这里(镜像站网页) 获取。

根据相关法律法规,本站不对欧盟用户提供服务。

Contact Us

Your IP Address

envelope github