【激光slam仿真】启动gazebo仿真环境报错[spawn_model-4] process has died

Q:I’ve successfully run the simulation before, it’s weird to have an error like this.

[urdf_spawner-4] process has died [pid 17950, exit code 1, cmd /opt/ros/melodic/lib/gazebo_ros/spawn_model -urdf -z 0.6 -model laikago_gazebo -param robot_description -unpause __name:=urdf_spawner __log:=/home/xinyu/.ros/log/00c0cee8-9aef-11ec-976c-103d1c3e9504/urdf_spawner-4.log].
log file: /home/xinyu/.ros/log/00c0cee8-9aef-11ec-976c-103d1c3e9504/urdf_spawner-4*.log

A:I’m not sure why but changing the rosdep permission solved this.

sudo rosdep fix-permissions

你可能感兴趣的:(激光slam,ubuntu)