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

    roscore运行报错

    已定时 已固定 已锁定 已移动
    一键安装
    ros安装 rosrun
    4
    5
    634
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 10640440921
      深水炸弹
      最后由 编辑

      RLException: Unable to contact my own server at [http://nubot1:33131/].
      This usually means that the network is not configured properly.

      A common cause is that the machine cannot connect to itself. Please check
      for errors by running:

      ping nubot1

      For more tips, please see

      http://wiki.ros.org/ROS/NetworkSetup

      The traceback for the exception was written to the log file

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

        @1064044092 在 roscore运行报错 中说:

        ping nubot1

        找到nubot1相关配置,删掉

        新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

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

          @小鱼 直接在终端输入ping nubot1吗?

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

            @1343593905 我是引用的你的报错,你的环境里肯定配了ROS_MASTER_URI之类的,删掉

            新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

            1 条回复 最后回复 回复 引用 0
            • 20715056892
              123
              最后由 编辑

              @1064044092 在 roscore运行报错 中说:

              2023年3月9日 17:24

              RLException: Unable to contact my own server at

              Thank you for answering the question!
              For the problem that I confront, I solve it this way

              After installing Ros noetics, when I was running commend "roscore" I got this issue

              RLException: Unable to contact my own server at [http://192.168.123.20:46397/].
              This usually means that the network is not configured properly.
              
              A common cause is that the machine cannot connect to itself.  Please check
              for errors by running:
              
                      ping 192.168.123.20
              
              For more tips, please see
              
                      http://wiki.ros.org/ROS/NetworkSetup
              
              The traceback for the exception was written to the log file
              

              and solve it in this way
              Change your ROS_MASTER_URI and ROS_HOSTNAME in ~/.bashrc and delete POS_IP which is related to IP 192.168.123.20

              export ROS_MASTER_URI=http://robot.local:11311
              export ROS_HOSTNAME=localhost
              export ROS_IP='hostname -I'
              

              for other version of ros maybe will work with following ROS_HOSTNAME

              export ROS_HOSTNAME=robot.local
              

              Don't forget source ~/.bashrc

              For additional info can refer to following link
              https://blog.csdn.net/Will_Ye/article/details/119912488

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