Jsnake
April 3, 2025, 12:01am
1
[spawn_entity.py-4] [INFO] [1743638348.217565167] [spawn_entity]: Spawn Entity started
[spawn_entity.py-4] [INFO] [1743638348.218479064] [spawn_entity]: Loading entity XML from file /home/user/simulation_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/models/turtlebot3_burger/model.sdf
[spawn_entity.py-4] [INFO] [1743638348.220599039] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30
[spawn_entity.py-4] [INFO] [1743638348.220945775] [spawn_entity]: Waiting for service /spawn_entity
[ERROR] [gzserver-1]: process has died [pid 29193, exit code 255, cmd 'gzserver /home/user/simulation_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/worlds/realrobotlab_v1.world -s libgazebo_ros_init.so -s libgazebo_ros_factory.so -s libgazebo_ros_force_system.so '].
[spawn_entity.py-4] [ERROR] [1743638378.263621674] [spawn_entity]: Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory?
[spawn_entity.py-4] [ERROR] [1743638378.264139377] [spawn_entity]: Spawn service failed. Exiting.
[ERROR] [spawn_entity.py-4]: process has died [pid 29199, exit code 1, cmd ‘/opt/ros/foxy/lib/gazebo_ros/spawn_entity.py -entity burger -file /home/user/simulation_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/models/turtlebot3_burger/model.sdf -x 0.0 -y 0.5 -z 0.01 --ros-args’].
keeps faulting
Hi @Jsnake
We need more information to help you.
What rosject are you working on?
Which command did you run?
Attach full screenshots showing the instructions you followed and the error that occurred.
Jsnake
April 3, 2025, 5:31pm
3
the first rossim, it will run for a few cycles but after closing and opening a few times it gives me this.
ctrl C to close the sim, then re run the command to open. ros2 launch turtlebot3_gazebo main_turtlebot3_lab.launch.xml
Jsnake
April 3, 2025, 5:31pm
4
_internal
[spawn_entity.py-4] 2025-04-03 17:31:33.563 [RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7419: open_and_lock_file failed → Function open_port_internal
[spawn_entity.py-4] [INFO] [1743701493.698992134] [spawn_entity]: Spawn Entity started
[spawn_entity.py-4] [INFO] [1743701493.699576105] [spawn_entity]: Loading entity XML from file /home/user/simulation_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/models/turtlebot3_burger/model.sdf
[spawn_entity.py-4] [INFO] [1743701493.702283174] [spawn_entity]: Waiting for service /spawn_entity, timeout = 30
[spawn_entity.py-4] [INFO] [1743701493.702792388] [spawn_entity]: Waiting for service /spawn_entity
[ERROR] [gzserver-1]: process has died [pid 23642, exit code 255, cmd 'gzserver /home/user/simulation_ws/install/turtlebot3_gazebo/share/turtlebot3_gazebo/worlds/realrobotlab_v1.world -s libgazebo_ros_init.so -s libgazebo_ros_factory.so -s libgazebo_ros_force_system.so '].
Jsnake
April 3, 2025, 9:00pm
5
whats the process for starting and stopping the sim? at least resetting it. ctrl C? reboot?
Jsnake
April 3, 2025, 9:39pm
6
crtl Z was crashing it, stuck to ctrl C to close and restart sim, looking good.
Ctrl + C
is the right key combination.
Thanks for sharing the images. It looks like you are having a problem with the VM’s capacity. Are you running other programs on the side?
Which rosject is this?
Are you still having the problem?