Spawn service times out and model not displayed in Gazebo

This is in URDF for Robot Modeling section 3, 1.4, I am not being able to spawn the mira robot the service times out without the model appearing in Gazebo. I have tried to reload the simulation. The code used is as given in the notes.

"Spawn status: SpawnModel: Entity pushed to spawn queue, but spawn service timed out waiting for entity to appear in simulation underthe name mira"

Update: Gazebo is also not opening in Graphical Tools when running:

cd ~/catkin_ws
source devel/setup.bash
roslaunch simulation_gazebo main.launch


Some questions:

  1. You dont need to launch gazebo until unit 5 and 6. Gazebo is already launched in the units 1-4.
  2. Could you share with us your code because if you follow the steps in section 1.4 you should be able to spawn the mira cylinder :slight_smile: