What is the best pipeline to have the drone spawn in the air while the simulation is running? For example, I wonder if I can write a function in Python that once the function is called, the drone will be reset in a random location in the air, armed and hovering. I'm aware that it may involve modifications on Blueprints in Unreal or even PX4 firmware, but it would be great if I can have some instructions. This method would be very helpful for reinforcement learning that the drone can spawn at different locations after episodes end.
What is the best pipeline to have the drone spawn in the air while the simulation is running? For example, I wonder if I can write a function in Python that once the function is called, the drone will be reset in a random location in the air, armed and hovering. I'm aware that it may involve modifications on Blueprints in Unreal or even PX4 firmware, but it would be great if I can have some instructions. This method would be very helpful for reinforcement learning that the drone can spawn at different locations after episodes end.