Spawning multiple models causes error
I am working on spawning a custom farm where there are 5 types of crops. I am using python spawn code. When i load around 49 plants it goes very well (No error). but when i try to load more than that the gazebo starts giving weird errors like:
[spawn_entity.py-97] [ERROR] [1691703476.153121215] [spawn_entity]: Service %s/spawn_entity unavailable. Was Gazebo started with GazeboRosFactory?
[spawn_entity.py-97] [ERROR] [1691703476.153469595] [spawn_entity]: Spawn service failed. Exiting
I am using Ros2 Foxy, Gazebo 11.11.0