ROS Distro

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

rosdep init
rosdep update

我们替换为以下步骤

首先手动模拟 rosdep init,这可以参考 GitHub RAW 镜像 中 rosdep init 一节。

之后执行以下指令。

# 为 rosdep update 换源
export ROSDISTRO_INDEX_URL=https://mirrors.sau.edu.cn/rosdistro/index-v4.yaml
rosdep update

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

本站由沈阳航空航天大学信息网络中心运行维护。

本站前端基于开源项目 tuna/mirror-web(GPL-2.0)构建,同步后端基于 tuna/tunasync,数据规范采用 MirrorZ 格式。相关修改后的源码同样以 GPL-2.0 协议开放。

clipboard clipboard-check bars globe envelope