ERROR: service [/gazebo/spawn_urdf_model] responded with an error: b''

asked 2023-04-25 10:00:26 -0500

updated 2023-04-25 10:01:52 -0500

I am using turtlebot3 for testing different algorithms. I need another turtlebot3 in same environment/world. I am using rosservice to spawn another turtlebot3 by following command linux rosservice call /gazebo/spawn_urdf_model "model_name: '' model_xml: '' robot_namespace: '' initial_pose: position: {x: 0.5, y: 0.5, z: 0.0} orientation: {x: 0.0, y: 0.0, z: 0.0, w: 0.0} reference_frame: ''" I specifically the following argument as model_name: 'my_turtlebot3'

model_xml:'/home/mubashir/catkin_ws/src/turtlebot3/turtlebot3_description/urdf/turtlebot3_burger.urdf.xacro'` robot_namespace: 'my_turtlebot3'

reference_frame: 'odom' when I entered I got the following error in terminal ERROR: service [/gazebo/spawn_urdf_model] responded with an error: b

edit retag flag offensive close merge delete