I want to analyze my path planner algorithm, so I must evaluate this algorithm in hundreds of situations. As a result, I need to load hundreds map in Rviz and Gazebo in a sequence and record the generated control commands. For each map, this code will record control commands for evaluating the path planning algorithm.
Is it possible to load different map/world files in a "for loop" (in a sequence)?