Loading Multiple World Files one after the other
Hi, Is there a way to load world files from a ros node or script one after the other. I want to create 100 worlds and load them one after the other in the simulation. The task is to move a robot in the world and collect data, then load another world and move the robot in it and collect data and so on for 100 worlds. If there is a way to do it please let me know.
Thanks,
Hi try to explain it more clear because what u r describing for me does not make any sense. Are you asking about an algorithm or implementation?
I need to run a simulation for 24000 steps in Gazebo and at the end of it I want a new world to load automatically and run the simulation for another 24000 steps. This I want to do for 100 worlds at least. During the simulations I will gather data for analysis.
If there is an implementation or such a script available or some tips as to how to do it will be great for my experiments
Hm, I do not think so, I also experienced some stuff in Gazebo like unloading of robots crashes it and so on... so I would recommend to create your own script to start and close gazebo every time when you change the world, just to reset it. Problem: Gazebo also crashes on startup sometimes :/
Any suggestions? I have the same problem.