紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
-
在工作空间运行
roslaunch turtlebot3_gazebo tutlebot3_world.launch
时发生报错
process[gazebo-1]: started with pid [8701] process[gazebo_gui-2]: started with pid [8706] process[spawn_urdf-3]: started with pid [8711] [gazebo-1] process has died [pid 8701, exit code 255, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/xxx/catkin_ws/src/turtlebot3_gazebo/worlds/trace3.world __name:=gazebo __log:=/home/xxx/.ros/log/8dc7ffd2-c2fe-11ec-99ca-000c2963bf40/gazebo-1.log]. log file: /home/xxx/.ros/log/8dc7ffd2-c2fe-11ec-99ca-000c2963bf40/gazebo-1*.log [ INFO] [1650717663.378451829]: Finished loading Gazebo ROS API Plugin. [ INFO] [1650717663.405245506]: waitForService: Service [/gazebo_gui/set_physics_properties] has not been advertised, waiting... [ERROR] [1650717665.784082290, 522.413000000]: SpawnModel: Failure - model name turtlebot3_waffle already exist. [ERROR] [1650717665.817683, 522.413000]: Spawn service failed. Exiting. [spawn_urdf-3] process has died [pid 8711, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -urdf -model turtlebot3_waffle -x -4.95 -y 1.04 -z 0.2 -R 0.0 -P 0.0 -Y 1.56 -param robot_description __name:=spawn_urdf __log:=/home/xxx/.ros/log/8dc7ffd2-c2fe-11ec-99ca-000c2963bf40/spawn_urdf-3.log]. log file: /home/xxx/.ros/log/8dc7ffd2-c2fe-11ec-99ca-000c2963bf40/spawn_urdf-3*.log VMware: vmw_ioctl_command error 无效的参数. Aborted (core dumped) [gazebo_gui-2] process has died [pid 8706, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/xxx/.ros/log/8dc7ffd2-c2fe-11ec-99ca-000c2963bf40/gazebo_gui-2.log]. log file: /home/xxx/.ros/log/8dc7ffd2-c2fe-11ec-99ca-000c2963bf40/gazebo_gui-2*.log all processes on machine have died, roslaunch will exit shutting down processing monitor... ... shutting down processing monitor complete done
按照检索尝试修改相关world文件中的参数<sim_time>无效
想请教这个报错具体是指什么地方出错了? -
@1687028512 在 gazebo仿真报错:Spawn service failed. Exiting 中说:
[ERROR] [1650717665.784082290, 522.413000000]: SpawnModel: Failure - model name turtlebot3_waffle already exist.
[ERROR] [1650717665.817683, 522.413000]: Spawn service failed. Exiting.你的模型已经在Gazebo中了,检查一下Gazebo。
-
-
@小鱼 感谢小鱼的极速回复~
我的gazebo确实打开了,但因为不明的原因点击后会迅速关闭
通过关闭3D加速,目前报错仍存在,但已经打开了gazebo,谢谢!参考资料
https://www.freesion.com/article/8875920614/