ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
raise ValueError(f"No '{name}' annotation")
I think the gazebo_ros
spawn_entity.py
wants a name. You have a name in there, which you commented out. It uses -entity
to request a name.
However, you have it in there twice. first as "-entity", -f"AGV_CAR"
which I am not quite sure how to interpret that.
And second
# arguments=['-entity',
# 'mobot',
Which would spawn a robot called mobot
.
I'm not sure why you commented those lines out? I don't think spawn_entity
uses -file
anymore. It used to be possible to use -file
to give the URDF file, but it has switched to using a topic
(for instance robot_description
as you have used, but you might want to remove the /
).
I hope this helps, otherwise drop a comment.