小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼的一键安装系列
-
@1450101792 尽量新开一个帖子,这个楼太高了,另外请描述下情况。在运行什么指令下报的错,系统版本等等
请阅读:
@小鱼 在 提问前必看!一定要看!必须看一下! 中说:
如果是程序,版本信息,系统信息,ROS版本,你的前后操作等等都是帮助快速定位的。
-
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 -
@1310622682 重启电脑
-
失败了。。请到社区或群聊反馈:['', 'sudo: docker:找不到命令\n']
-
忘记安装docker时候使用的名称怎么办
-
@2361998686 docker ps -a 看一下
-
四次换源后都失败了,请及时联系小鱼获取解决方案并处理!
-
@1043028392 请单独开个新的帖子讨论该问题
-
此回复已被删除! -
AttributeError: 'NoneType' object has no attribute 'keys'
bash: /opt/ros/melodic/setup.bash: 没有那个文件或目录 -
@892542108 请单独开个新的帖子讨论该问题
-
此回复已被删除! -
系统版本: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'
-
@linzeshi 请单独发一个帖子
-
请这样是安装成功了吗?我之前尝试装过ros-melodic,在初始化和配置环境变量的时候出了问题。在配置环境变量的时候也是有这个“no such file or directory”的提示,然后我卸载了原来安装的ros。 -
-
[ERROR] [1668773178.263392316]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying...
在安装完ros1之后,想要测试一下,用了一下小海龟的代码出现了这个 -
@1924722798 没有启动roscore
-
@小鱼 嗷嗷,昨天用roscore了,没有弹窗,今天可以了,蟹蟹
-
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版本,出现了这个问题。求大佬解决
-
我在做现实的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,然后报错,该怎么办