下载ros源码

How to get ROS source code

Configurate rosdep by yuxiangROS script.

1... 3]:一键配置:rosdep(小鱼的rosdepc,又快又好用)

2... rosdepc init

Traceback (most recent call last):

  File "/usr/bin/rosinstall_generator", line 11, in <module>

    load_entry_point('rosinstall-generator==0.1.18', 'console_scripts', 'rosinstall_generator')()

  File "/usr/lib/python3/dist-packages/rosinstall_generator/cli.py", line 152, in main

    rosinstall_data = generate_rosinstall(args.rosdistro, args.package_names,

  File "/usr/lib/python3/dist-packages/rosinstall_generator/generator.py", line 263, in generate_rosinstall

    wet_package_names, unreleased_repo_names = _get_packages_for_repos(distro_name, repo_names, source=upstream_source_version)

  File "/usr/lib/python3/dist-packages/rosinstall_generator/generator.py", line 93, in _get_packages_for_repos

    wet_distro = get_wet_distro(distro_name)

  File "/usr/lib/python3/dist-packages/rosinstall_generator/generator.py", line 220, in get_wet_distro

    _wet_distro = _get_wet_distro(distro_name)

  File "/usr/lib/python3/dist-packages/rosinstall_generator/distro.py", line 45, in get_distro

    index = get_index(get_index_url())

  File "/usr/lib/python3/dist-packages/rosdistro/__init__.py", line 104, in get_index

    yaml_str = load_url(url)

  File "/usr/lib/python3/dist-packages/rosdistro/loader.py", line 59, in load_url

    raise URLError(str(e) + ' (%s)' % url)

urllib.error.URLError: <urlopen error <urlopen error [Errno 111] Connection refused> (https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml)>

@@@@

thb@thb-VirtualBox:~/.ros/rosdep/meta.cache$ grep ghproxy !$

grep ghproxy /usr/lib/python3/dist-packages/rosdistro/__init__.py

DEFAULT_INDEX_URL = 'https://ghproxy.com/https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml'

thb@thb-VirtualBox:~/ros_catkin_ws$ vcs import --input noetic-desktop.rosinstall ./src

Command 'vcs' not found, but there are 15 similar ones.

@@@@sudo pip install -U vcstool

Download speed be too slow

@@replace url with GitHub Proxy 代理加速 in the file noetic-desktop.rosinstall

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值