Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service %s/spawn_entity unavailable. #1473

Closed
dvogureckiy99 opened this issue Apr 4, 2023 · 1 comment
Closed

Service %s/spawn_entity unavailable. #1473

dvogureckiy99 opened this issue Apr 4, 2023 · 1 comment

Comments

@dvogureckiy99
Copy link

I use:
ubuntu 20.04
ros2 humble

After command ros2 run gazebo_ros spawn_entity.py -entity solo12dof_quadruped -file ~/git/robot_programming_course/catkin_ws/src/solo12dof_quadruped/urdf/solo12dof_quadruped.urdf -x 0 -y 0 -z 1:

[ERROR] [1680614010.466277126] [spawn_entity]: Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory?
[ERROR] [1680614010.467486099] [spawn_entity]: Spawn service failed. Exiting.
@chngdickson
Copy link

Ros_gz_sim's implementation seems to be working.

ros2 run ros_gz_sim create -file my_model.sdf -name new_name_for_model -x 0.1 -y 0.0 -z 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants