I was doing exercise 2.2 from ros2 site and got error while trying to launch gazebo with turtlebot3
The error is:
[spawn_entity.py-4] [ERROR] [1680177560.548042880] [spawn_entity]: Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory? [spawn_entity.py-4] [ERROR] [1680177560.548391031] [spawn_entity]: Spawn service failed. Exiting. [ERROR] [spawn_entity.py-4]: process has died [pid 21544, exit code 1, cmd '/opt/ros/humble/lib/gazebo_ros/spawn_entity.py
-entity burger -file /opt/ros/humble/share/turtlebot3_gazebo/models/turtlebot3_burger/model.sdf
-x 0.0 -y 0.0 -z 0.01 --ros-args'].