Spawn service failed. Exiting. 的处理方法

问题内容:

[INFO] [1645350157.294176, 1638263152.727635]: Spawn status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation under the name m100
[ERROR] [1645350157.295729, 1638263152.727635]: Spawn service failed. Exiting.
[m100/spawn_m100-12] process has died [pid 12549, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -param robot_description -urdf -x 0.0 -y 0.0 -z 2.0 -model m100 __name:=spawn_m100 __log:=/home/yws/.ros/log/6bf47b54-9231-11ec-8f72-a864f1d6061e/m100-spawn_m100-12.log].
log file: /home/yws/.ros/log/6bf47b54-9231-11ec-8f72-a864f1d6061e/m100-spawn_m100-12*.log

处理方法:

修改自己设定的,gazebo中世界的文件内容

具体修改内容:

针对g2.world下面的sim_time做修改,改成0就可以


    
      0
      119 512328949
      1638263152 726635429
      119408
      
        105.647 -1.41813 0.715858 1.5708 -0 -1.93959
        1 1 1

你可能感兴趣的:(自动驾驶,人工智能,机器学习)