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

    在vscode里面的终端一键下载的ROS,下载的时候没有问题,但是测试运行小乌龟就不行,而且电脑系统重装之前可以一切没问题重装之后就不行了

    已定时 已固定 已锁定 已移动
    一键安装
    一键安装 vscode终端 小乌龟无法启动
    2
    2
    357
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 30379741183
      北極光
      最后由 编辑

      aurora_borealis@DESKTOP-4KV591G:~$ roscore
      ... logging to /home/aurora_borealis/.ros/log/a2268cbe-ff9d-11ed-aa85-00155db53ee7/roslaunch-DESKTOP-4KV591G-12683.log
      Checking log directory for disk usage. This may take a while.
      Press Ctrl-C to interrupt
      Done checking log file disk usage. Usage is <1GB.

      started roslaunch server http://DESKTOP-4KV591G:43315/
      ros_comm version 1.14.13

      SUMMARY

      PARAMETERS

      • /rosdistro: melodic
      • /rosversion: 1.14.13

      NODES

      auto-starting new master
      process[master]: started with pid [12697]
      ROS_MASTER_URI=http://DESKTOP-4KV591G:11311/

      setting /run_id to a2268cbe-ff9d-11ed-aa85-00155db53ee7
      process[rosout-1]: started with pid [12708]
      started core service [/rosout]

      aurora_borealis@DESKTOP-4KV591G:~$ roscore
      ... logging to /home/aurora_borealis/.ros/log/a2268cbe-ff9d-11ed-aa85-00155db53ee7/roslaunch-DESKTOP-4KV591G-12814.log
      Checking log directory for disk usage. This may take a while.
      Press Ctrl-C to interrupt
      Done checking log file disk usage. Usage is <1GB.

      started roslaunch server http://DESKTOP-4KV591G:35349/
      ros_comm version 1.14.13

      SUMMARY

      PARAMETERS

      • /rosdistro: melodic
      • /rosversion: 1.14.13

      NODES

      RLException: roscore cannot run as another roscore/master is already running.
      Please kill other roscore/master processes before relaunching.
      The ROS_MASTER_URI is http://DESKTOP-4KV591G:11311/
      The traceback for the exception was written to the log file
      aurora_borealis@DESKTOP-4KV591G:~$ rosrun turtlesim turtlesim_node
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aurora_borealis'
      qt.qpa.screen: QXcbConnection: Could not connect to display
      Could not connect to any X display.
      aurora_borealis@DESKTOP-4KV591G:~$

      c7597943-03df-4069-aaba-27cf4a7117a7-image.png

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

        @3037974118 在 在vscode里面的终端一键下载的ROS,下载的时候没有问题,但是测试运行小乌龟就不行,而且电脑系统重装之前可以一切没问题重装之后就不行了 中说:

        aurora_borealis@DESKTOP-4KV591G:~$ rosrun turtlesim turtlesim_node
        QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aurora_borealis'
        qt.qpa.screen: QXcbConnection: Could not connect to display
        Could not connect to any X display.
        aurora_borealis@DESKTOP-4KV591G:~$

        主机终端 xhost +

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

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