鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    小鱼的一键安装系列

    已定时 已固定 已锁定 已移动
    工具软件
    一键安装 使用指南
    63
    134
    547.3k
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 小鱼小
      小鱼 技术大佬 @1450101792
      最后由 编辑

      @1450101792 尽量新开一个帖子,这个楼太高了,另外请描述下情况。在运行什么指令下报的错,系统版本等等

      请阅读:

      @小鱼 在 提问前必看!一定要看!必须看一下! 中说:

      如果是程序,版本信息,系统信息,ROS版本,你的前后操作等等都是帮助快速定位的。

      1 条回复 最后回复 回复 引用 0
      • 13106226821
        穗贺
        最后由 编辑

        Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/melodic1/json: dial unix /var/run/docker.sock: connect: permission denied
        Password:
        he jiao cheng bu yi yang

        小鱼小 1 条回复 最后回复 回复 引用 0
        • 小鱼小
          小鱼 技术大佬 @1310622682
          最后由 编辑

          @1310622682 重启电脑

          1 条回复 最后回复 回复 引用 0
          • W
            wenda316
            最后由 编辑

            失败了。。请到社区或群聊反馈:['', 'sudo: docker:找不到命令\n']

            1 条回复 最后回复 回复 引用 0
            • 23619986862
              远
              最后由 编辑

              忘记安装docker时候使用的名称怎么办

              小鱼小 1 条回复 最后回复 回复 引用 0
              • 小鱼小
                小鱼 技术大佬 @2361998686
                最后由 编辑

                @2361998686 docker ps -a 看一下

                1 条回复 最后回复 回复 引用 0
                • 10430283921
                  无心
                  最后由 编辑

                  四次换源后都失败了,请及时联系小鱼获取解决方案并处理!

                  小鱼小 2 条回复 最后回复 回复 引用 0
                  • 小鱼小
                    小鱼 技术大佬 @1043028392
                    最后由 编辑

                    @1043028392 请单独开个新的帖子讨论该问题

                    1 条回复 最后回复 回复 引用 0
                    • 小鱼小
                      小鱼 技术大佬 @1043028392
                      最后由 编辑

                      此回复已被删除!
                      1 条回复 最后回复 回复 引用 0
                      • 8925421088
                        莱昂纳税人
                        最后由 编辑

                        AttributeError: 'NoneType' object has no attribute 'keys'
                        bash: /opt/ros/melodic/setup.bash: 没有那个文件或目录

                        小鱼小 1 条回复 最后回复 回复 引用 0
                        • 小鱼小
                          小鱼 技术大佬 @892542108
                          最后由 编辑

                          @892542108 请单独开个新的帖子讨论该问题

                          1 条回复 最后回复 回复 引用 0
                          • L
                            linzeshi
                            最后由 编辑

                            此回复已被删除!
                            1 条回复 最后回复 回复 引用 0
                            • L
                              linzeshi
                              最后由 编辑

                              系统版本:ubuntu16
                              ROS:kinetic
                              安装途径:鱼香ros一键安装
                              问题描述:在配置rosdep之后,无论是rosdepc update还是rosdep update都失败。

                              --------rosdep update---------

                              casun@casun:~$ rosdep update
                              reading in sources list data from /etc/ros/rosdep/sources.list.d
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/osx-homebrew.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/base.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/python.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/ruby.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/releases/fuerte.yaml
                              Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/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"
                              ERROR: error loading sources list:
                              	<urlopen error <urlopen error timed out> (https://raw.githubusercontent.com/ros/rosdistro/master/melodic/distribution.yaml)>
                              
                              

                              --------rosdepc update--------

                              casun@casun:~$ rosdepc update
                              欢迎使用国内版rosdep之rosdepc
                              我是作者小鱼,更多ROS学习资源请关注公众号鱼香ROS
                              
                              小鱼rosdepc开始为您服务---------------
                              reading in sources list data from /etc/ros/rosdep/sources.list.d
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/osx-homebrew.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/base.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/python.yaml
                              Hit https://gitee.com/ohhuo/rosdistro/raw/master/rosdep/ruby.yaml
                              ERROR: unable to process source [https://gitee.com/ohhuo/rosdistro/raw/master/releases/fuerte.yaml]:
                              	Failed to download target platform data for gbpdistro:
                              	<urlopen error timed out>
                              Query rosdistro index https://gitee.com/ohhuo/rosdistro/raw/master/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"
                              
                              ERROR: Rosdep experienced an error: Expected file type is 'distribution'
                              Please go to the rosdepc page [1] and file a bug report with the stack trace below.
                              [1] : http://www.ros.org/wiki/rosdepc
                              
                              发生错误了,请关注微信公众号:鱼香ROS,找小鱼反馈哦
                              
                              rosdepc version: 0.21.0
                              
                              Traceback (most recent call last):
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py", line 146, in rosdep_main
                                  exit_code = _rosdep_main(args)
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py", line 446, in _rosdep_main
                                  return _no_args_handler(command, parser, options, args)
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py", line 455, in _no_args_handler
                                  return command_handlers[command](options)
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/main.py", line 677, in command_update
                                  ros_distro=options.ros_distro)
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/sources_list.py", line 516, in update_sources_list
                                  rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/gbpdistro_support.py", line 149, in get_gbprepo_as_rosdep_data
                                  distro_file = get_release_file(gbpdistro)
                                File "/usr/local/lib/python2.7/dist-packages/roscdep2/rosdistrohelper.py", line 77, in get_release_file
                                  dist_file = rosdistro.get_distribution_file(get_index(), distro)
                                File "/usr/lib/python2.7/dist-packages/rosdistro/__init__.py", line 120, in get_distribution_file
                                  return create_distribution_file(dist_name, data)
                                File "/usr/lib/python2.7/dist-packages/rosdistro/distribution_file.py", line 134, in create_distribution_file
                                  dist_file = DistributionFile(dist_name, d)
                                File "/usr/lib/python2.7/dist-packages/rosdistro/distribution_file.py", line 45, in __init__
                                  assert 'type' in data, "Expected file type is '%s'" % DistributionFile._type
                              AssertionError: Expected file type is 'distribution'
                              
                              
                              小鱼小 1 条回复 最后回复 回复 引用 0
                              • 小鱼小
                                小鱼 技术大佬 @linzeshi
                                最后由 编辑

                                @linzeshi 请单独发一个帖子

                                1 条回复 最后回复 回复 引用 0
                                • 28101629912
                                  我清醒着一再续杯
                                  最后由 编辑

                                  3925c3ba-d635-4cc1-ae12-5dafab95801a-image.png
                                  请这样是安装成功了吗?我之前尝试装过ros-melodic,在初始化和配置环境变量的时候出了问题。在配置环境变量的时候也是有这个“no such file or directory”的提示,然后我卸载了原来安装的ros。

                                  1 条回复 最后回复 回复 引用 0
                                  • 毛哥成山轮胎机油保养毛 毛哥成山轮胎机油保养 在 中 引用了 这个主题
                                  • 19247227981
                                    1924722798
                                    最后由 1924722798 编辑

                                    [ERROR] [1668773178.263392316]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying...
                                    在安装完ros1之后,想要测试一下,用了一下小海龟的代码出现了这个

                                    小鱼小 1 条回复 最后回复 回复 引用 0
                                    • 小鱼小
                                      小鱼 技术大佬 @1924722798
                                      最后由 编辑

                                      @1924722798 没有启动roscore

                                      19247227981 1 条回复 最后回复 回复 引用 0
                                      • 19247227981
                                        1924722798 @小鱼
                                        最后由 编辑

                                        @小鱼 嗷嗷,昨天用roscore了,没有弹窗,今天可以了,蟹蟹😊

                                        1 条回复 最后回复 回复 引用 0
                                        • 17719070971
                                          你和梦想我都要
                                          最后由 编辑

                                          pi@ubuntu:~$ myros
                                          /home/pi/.fishros/bin/myros: line 1: xhost: command not found
                                          请输入指令控制myros: 重启(r) 进入(e) 启动(s) 关闭(c) 删除(d) 测试(t):
                                          s
                                          Error response from daemon: error gathering device information while adding custom device "/dev/dri/renderD128": no such file or directory
                                          Error: failed to start containers: myros
                                          pi@ubuntu:~$

                                          安装的是ros Melodic版本,出现了这个问题。求大佬解决

                                          小鱼小 1 条回复 最后回复 回复 引用 0
                                          • 21036547072
                                            2103654707
                                            最后由 编辑

                                            我在做现实的ros小车导航,因为雷达建图不好用,我想把现有的完整图导rviz里,我已经将图片和图片附带的文件复制到map和nav文件夹下的maps了,nav下的launch文件夹下的launch文件中,内容<node name="map_server" pkg="map_server" type="map_server" args="$(find ucar_nav)/maps/mapname.yaml" output="screen">加粗字体也改好了,输入roslaunch ucar_nav ucar_navigation.launch,然后报错,该怎么办16bde6d8-9197-49b4-aff5-dd2a1f9d0458-image.png

                                            小鱼小 1 条回复 最后回复 回复 引用 0
                                            • 第一个帖子
                                              最后一个帖子
                                            皖ICP备16016415号-7
                                            Powered by NodeBB | 鱼香ROS