Following along with 'Creating a simulation of the robot' - specifically this section - Exercise 2.3

"To spawn the robot we have just created into the Gazebo simulation, we will create a launch file named spawn.launch inside the launch folder. We will populate it with the following content:"

I've copied the content verbatim, placed it into launch/spawn.launch and when attempting to launch I get a Service call failed [Service call failed: service [/gazebo/spawn_urdf_model] responded with an error:]

I've double checked the urdf definition and launch files match what is expected in the course content. I've also ensured appropiate environment variables are sourced and I can roscd <package_name> listed in the launch file - what am I missing?

last few lines below - i've also checked the log file referenced but don't see any obvious error

Service call failed: service [/gazebo/spawn_urdf_model] responded with an error:
[mybot_spawn-1] process has finished cleanly
log file: /home/user/.ros/log/6bc35c2e-10cd-11e9-b9b9-060b2f62e10c/mybot_spawn-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete

asked 05 Jan, 12:12

nebulai's gravatar image

accept rate: 0%

Hi James

Thank you very much for reporting it.

I see that is a persistent problem given that another user reported the same problem.

We will investigate and solve. We will let you know once it's solved.

Once again, thanks for reporting it.

permanent link

answered 07 Jan, 18:30

ralves%40theconstructsim.com's gravatar image

ralves@theco... ♦♦
accept rate: 48%

have the same problem. is there a solution available yet?

permanent link

answered 07 May, 11:19

boris.spivak%40qualityminds.de's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 05 Jan, 12:12

question was seen: 513 times

last updated: 07 May, 11:19

powered by OSQA