具体参考小鱼fishros。

当然如果想要学习一下,推荐看一下内部命令:


不用就是这个效果:

用了效果如下:


reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///usr/share/python3-rosdep2/debian.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/base.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/python.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/ruby.yaml
Query rosdistro index https://mirrors.tuna.tsinghua.edu.cn/rosdistro/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"
Add distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/zhangrelay/.ros/rosdep/sources.cache


全部记录如下:

zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$ rosdep install -i --from-path srcERROR: your rosdep installation has not been initialized yet.  Please run:rosdep updatezhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///usr/share/python3-rosdep2/debian.yaml
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:Failed to download target platform data for gbpdistro:<urlopen error [Errno 111] Connection refused>
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
ERROR: error loading sources list:<urlopen error <urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml)>
zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$ sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple rosdepc
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting rosdepcDownloading https://pypi.tuna.tsinghua.edu.cn/packages/ce/7c/a9659fc0a2184cb3fa4bddb2c6895212c924357540fd2be3fe092196c146/rosdepc-1.0.0-py3-none-any.whl (3.5 kB)
Requirement already satisfied: rosdep in /usr/lib/python3/dist-packages (from rosdepc) (0.21.0)
Installing collected packages: rosdepc
Successfully installed rosdepc-1.0.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///usr/share/python3-rosdep2/debian.yaml
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml]:<urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml)
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml]:Failed to download target platform data for gbpdistro:<urlopen error [Errno 111] Connection refused>
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
ERROR: error loading sources list:<urlopen error <urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml)>
zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$ sudo rosdepc init
欢迎使用国内版rosdep之rosdepc,我是作者小鱼!小鱼制作了11万字的ROS2教程和配套视频,关注公众号《鱼香ROS》即可领取!小鱼rosdepc正式为您服务
---------------------------------------------------------------------------
--2022-06-28 07:51:57--  https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
Resolving mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)... 101.6.15.130, 2402:f000:1:400::2
Connecting to mirrors.tuna.tsinghua.edu.cn (mirrors.tuna.tsinghua.edu.cn)|101.6.15.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 550 [application/octet-stream]
Saving to: ‘/etc/ros/rosdep/sources.list.d/20-default.list’/etc/ros/rosdep/sources.list. 100%[=================================================>]     550  --.-KB/s    in 0s2022-06-28 07:51:58 (194 MB/s) - ‘/etc/ros/rosdep/sources.list.d/20-default.list’ saved [550/550]小鱼提示:恭喜你完成初始化,快点使用rosdepc update更新吧
---------------------------------------------------------------------------
zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$  rosdepc update
欢迎使用国内版rosdep之rosdepc,我是作者小鱼!小鱼制作了11万字的ROS2教程和配套视频,关注公众号《鱼香ROS》即可领取!
zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$
小鱼rosdepc正式为您服务
---------------------------------------------------------------------------
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit file:///usr/share/python3-rosdep2/debian.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/base.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/python.yaml
Hit https://mirrors.tuna.tsinghua.edu.cn/github-raw/ros/rosdistro/master/rosdep/ruby.yaml
Query rosdistro index https://mirrors.tuna.tsinghua.edu.cn/rosdistro/index-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"
Add distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"
Skip end-of-life distro "hydro"
Skip end-of-life distro "indigo"
Skip end-of-life distro "jade"
Skip end-of-life distro "kinetic"
Skip end-of-life distro "lunar"
Add distro "melodic"
Add distro "noetic"
Add distro "rolling"
updated cache in /home/zhangrelay/.ros/rosdep/sources.cache
小鱼恭喜:rosdepc已为您完成更新!!
---------------------------------------------------------------------------
zhangrelay@LAPTOP-5REQ7K1L:~/ros_ws/f1tenth_gym_ros-main$ rosdep install -i --from-path src
#All required rosdeps installed successfully

一行代码-解决人生烦恼
推荐语:一行代码搭建机器人开发环境(ROS/ROS2/ROSDEP)
开源地址:github.com/fishros/install
常用教程
一键安装微信使用指南
目前支持工具
一键安装:ROS(支持ROS和ROS2,树莓派Jetson) 贡献@小鱼
一键安装:VsCode(支持amd64和arm64) 贡献@小鱼
一键安装:github桌面版(小鱼常用的github客户端) 贡献@小鱼
一键安装:nodejs开发环境(通过nodejs可以预览小鱼官网噢 贡献@小鱼
一键配置:rosdep(小鱼的rosdepc,又快又好用) 贡献@小鱼
一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择) 贡献@小鱼
一键配置:系统源(更换系统源,支持全版本Ubuntu系统) 贡献@小鱼
一键安装:Docker(支持amd64和arm64) 贡献@alyssa
一键安装:cartographer 贡献@小鱼&Catalpa
一键安装:微信客户端 贡献@小鱼
问题反馈
如果在使用过程中遇到问题,欢迎到一键安装板块反馈,小伊会第一时间将反馈推送至小鱼的个人微信。

打赏小鱼

如果余粮不多,可以给小鱼一个star

如果上述命令运行出现错误可以联系小鱼或者在github上提出issue:进行修复


rosdep update 使用小鱼fishros解决ros1/ros2问题 2022相关推荐

  1. **rosdep init** 或者**rosdep update** 连接错误的解决办法

    rosdep init 或者rosdep update 连接错误的解决办法 链接:添加链接描述 试用了好几个ip地址,这个可以通过 添加链接描述 ubuntu进行dpkg安装时出现xxx依赖于xxx, ...

  2. rosdep update timeout问题终极解决办法

    rosdep update timeout问题终极解决办法 [问题描述] rosdep update reading in sources list data from /etc/ros/rosdep ...

  3. rosdep update 出现time out 解决办法(绝对有效)

    rosdep update 超时-解决办法: 查找了无数的方法,几乎翻遍了所有方法(但大部分方法都是碰巧成功的,比如连接手机热点基本没用) 我的总结如下三步: 1.更改超时时间设置 2.在/etc/h ...

  4. Ubuntu系统rosdep update报错的解决办法(2022.10.3亲测有效)

    目录 一. 问题: Ubuntu22.04系统下面,rosdep update总是报错 二. 方法一一道来: 1. 直接访问raw.githubusercontent.com是不行的. 按照网上的解决 ...

  5. 【ROS】针对ROS安装过程中出现rosdep update超时问题的解决方法

    参考:https://blog.csdn.net/leida_wt/article/details/115120940 由于近期国内Github Raw的可用IP越来越少,通过修改hosts文件解决r ...

  6. rosdep update 的解决

    我是按照 ububtu20.04安装ROS_zhangsxa的博客-CSDN博客 这个安装的ros 但是初始化的时候遇到了各种各样的报错, 反正基本上是一直在百度,一直在尝试各种方法. 最后的解决过程 ...

  7. rosdep update错误解决

    系统:ubuntu 16.04 主要问题: rosdep update时频繁出现time out,无法正常运行. 初步考虑应该是国内连接外网(raw.githubusercontent.com)受限的 ...

  8. 在 ubuntu 20.04 LTS 上安装 ROS2 执行 rosdep update 命令时出现的问题的解决办法

    在 ubuntu 20.04 LTS 上安装 ROS2 执行 rosdep update 命令时出现的问题的解决办法 1.sudo rosdep init 在执行 sudo rosdep init 命 ...

  9. ROS学习 一、Debian10安装ROS Noetic,解决rosdep update失败问题(更新一个可修改位置)

    目录 前言 ROS安装 1.添加ROS的apt源和key(中科大源) 2.apt安装ros-noetic核心组件 3.配置ROS的bash环境 4.安装其他常用ROS依赖项 5.解决python3-r ...

最新文章

  1. 上传头像,layui上传图片
  2. python输入输出有问题_使用pySerial从Python获取输入/输出错误
  3. linux下搭建cacti监控
  4. 2D空间中基于矢量运算的碰撞后效果as3源码
  5. 手把手教学系列——疯狂Spring Cloud教学视频
  6. 恕我直言,你可能误解了微服务
  7. DB2 INTERSECT、EXCEPT、UNION集合操作测试
  8. 计算机专业方面的期刊介绍
  9. 网络速度在线测试软件,在线网速测试(局域网速度测试工具)
  10. ubuntu 系统获取和阅读 linux 源码
  11. [密码学]如何生成PKCS8密钥
  12. 有道惠惠购物助手和如意淘使用比较
  13. ET城市大脑出海:阿里云发展世界级创新技术业务
  14. Java ssm框架是什么?
  15. 对计算机科学与技术专业的认识和思考,计算机科学和技术专业的认识和思考.doc...
  16. 团队任务5:事后诸葛亮会议
  17. 【BZOJ4049】[Cerc2014] Mountainous landscape(线段树+凸包+二分)
  18. 群晖docker给showdoc添加ssl证书
  19. FORM 6i 安装
  20. 数据安全与隐私保护要点整理

热门文章

  1. eclipes安装lombok
  2. 0.《新概念51单片机C语言教程》(郭天祥)学习笔记
  3. python实现微信机器人: 登录微信、消息接收、自动回复
  4. PDMS二次开发产品Naki.CI(二):升级到1.0.1版本
  5. 【教程】腾讯云轻量应用服务器搭建聊天室
  6. 由酷6员工猝死想到的:IT民工 我该拿什么拯救你
  7. flowable报错FlowableTaskAlreadyClaimedException问题
  8. 设计模式篇—《行为型设计模式》
  9. pytest中参数化方法,并且根据执行的命令进行动态参数化
  10. 皮肤样本微生物的检测介绍