Andrew_lad 2023-01-15 19:47 采纳率: 10%
浏览 607
已结题

[ERROR] [1673777588.619052, 1814.801000]: Spawn service failed. Exiting. Warning [parser.cc:833]

Ubuntu18.04 Melodic

img

执行这条命令后,有如下报错

[INFO] [1673777588.618213, 1814.801000]: Spawn status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation under the name iris_0
[ERROR] [1673777588.619052, 1814.801000]: Spawn service failed. Exiting.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
Exception in thread Thread-5 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  File "/usr/lib/python2.7/threading.py", line 754, in run
  File "/usr/lib/python2.7/SocketServer.py", line 603, in process_request_thread
  File "/usr/lib/python2.7/SocketServer.py", line 475, in shutdown_request
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'
[iris_0/iris_0_spawn-5] process has died [pid 28017, exit code 1, cmd /home/lad/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/spawn_model -sdf -param model_description -model iris_0 -x 0 -y 7.5 -z 0.5 -R 0 -P 0 -Y 0 __name:=iris_0_spawn __log:=/home/lad/.ros/log/33eb3ef2-94bd-11ed-b8dc-08002717c910/iris_0-iris_0_spawn-5.log].
log file: /home/lad/.ros/log/33eb3ef2-94bd-11ed-b8dc-08002717c910/iris_0-iris_0_spawn-5*.log
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.
Warning [parser.cc:833] XML Attribute[version] in element[sdf] not defined in SDF, ignoring.

跟着教程执行了一系列命令后也没有出现下图中的内容

img

请问我该怎么解决这些问题

  • 写回答

1条回答 默认 最新

  • heart_6662 2023-01-15 20:01
    关注

    望采纳!!!!
    可能是你的SDF文件中的XML属性version在SDF中没有定义,因此忽略了它。你需要检查你的SDF文件,确保它包含正确的version属性

    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 1月17日
  • 修改了问题 1月15日
  • 创建了问题 1月15日

悬赏问题

  • ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包
  • ¥15 用visualstudio2022创建vue项目后无法启动
  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境
  • ¥30 关于#java#的问题,请各位专家解答!