Robotics StackExchange | Archived questions

Waiting for service /gazebo/spawn_urdf_model. Gazebo doesn't find my model

I am following a tutorial to build a custom robot in Ros. I followed in detail this tutorial: https://www.youtube.com/watch?v=uvPFDQxfm2w&t=70s I am trying to make my robot called "mrm" spawn in gazebo. When I try to launch the model no error messages are appearing but everything is stuck and this message appears in the terminal:

[INFO] [1672617380.745654]: Waiting for service /gazebo/spawnurdfmodel

It appears it is searching for the model of the robot as reported by: https://answers.ros.org/question/383910/generic-question-about-the-error-waiting-for-service-gazebospawn_urdf_model/

If someone has some hints about how to solve this problem I would be very grateful.

I attach the link to my question on stackoverflow where I reported the launch file I am exploiting and the complete terminal message: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjaiKDV36v8AhVBhP0HHUvPASYQFnoECAsQAQ&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F74978165%2Fwaiting-for-service-gazebo-spawn-urdf-model&usg=AOvVaw2ff-txSiiSs-BReXif_9aM

Lorenzo

Asked by lorenzo21 on 2023-01-03 10:56:32 UTC

Comments

Answers