ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Unkown error while opening a .URDF file in gazebo

asked 2021-11-26 03:50:08 -0500

C.Dellantonio gravatar image

I'm trying to open a urdf file in gazebo, using:

rosrun gazebo_ros spawn_model -file urdf/ur5_.urdf -urdf -x 0 -y 0 -z 1 -model ur5

the answer i get is:

Service call failed: service [/gazebo/spawn_urdf_model] responded with an error: b''

I have no idea what that error means, and i havent found anyone with the same error in the questions asked previously. Does anyone know what it could mean?

I'm working with ros noetic on ubuntu 20.04

edit retag flag offensive close merge delete

Comments

Could you check your URDF model with this verification tool? Or you could try gz sdf -p ur5_.urdf > ur5_.sdf and then check SDF with gz sdf -k ur5_.sdf. Please show us both results too.

ljaniec gravatar image ljaniec  ( 2021-12-05 17:15:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-05 10:45:27 -0500

muratkoc503 gravatar image

updated 2021-12-06 11:11:03 -0500

i think, you should use launch file, and your robot spawn at Gazebo with world.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-11-26 03:50:08 -0500

Seen: 97 times

Last updated: Dec 06 '21